Getting error while trying to debug ASP.NET application (WebForms) that I migrated

I am trying to port an ASP.NET 2.0 application (WebForms) to ASP.NET 3.5. I finally fixed the IIS 7.5 error 500.19 that I had. Now it will work until I try to debug it. If I try to debug it, I get an error. I was looking for help in this error, and there is very little. Here is the error message text:

"Cannot start debugging on the web server. Check one of the following values.

  • The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supported by the debugger.
  • The debugger made the wrong assumption about the version of Microsoft.NET Framework that your application will use.
  • The version of Microsoft.NET Framework that you specified for debugging is incorrect.

Please see the Visual Studio.NET debugger documentation for the correct version of the Microsoft.NET Framework that your application will use for debugging.

Well, as far as I know, I am using the correct version of the .NET Framework (3.5) for this application. Although I am not so familiar with IIS 7.5 on Windows 7. In any case, I could use the help for this error, please.

+4
source share
1 answer

I found that I needed to get into IIS and change the application pool that was using my updated ASP.NET application. It has been assigned to the application pool associated with .NET 4.0. I changed it to one related to the .NET Framework 2.0.

+8
source

All Articles