Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 01, 2013 05:00 AM by Steven Cheng - MSFT
Dec 27, 2012 08:49 AM|LINK
Hi i just converted 1.1 to 2.0 from wizard but when i debugging the project i am getting this error.......Image Link
Dec 27, 2012 09:11 AM|LINK
if you right click on the project and select Properties. Then the first tab and verify the Target framework.
Jan 01, 2013 05:00 AM|LINK
I think the convertion you have done is from the ASP.NET 1.1 (vs 2003) project to ASP.NET 2.0 (VS 2005,2008 or newer ) project. Since your ASP.NET web application is likely hosted in IIS server, you also need to make sure the IIS virtual directory's application
pool is configured to use .NET framework 2.0 (or higher is you converted the web application to higher version). Here are some reference about configuring the .NET framework version of IIS application pool.
#Specify a .NET Framework Version for an Application Pool (IIS 7)
#Versions of the .NET Framework and the IIS6 Application Pools
In addition, if it is possible for you to upgrade the Visual Studio IDE to 2010 or 2012, then you can consider using IIS express as the test webserver for debugging ASP.NET web application (instead of using complete IIS server or Visual Studio internal test
#Introducing IIS Express
#Web Servers in Visual Studio for ASP.NET Web Projects