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.
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
server)
shivalthakur
Participant
1839 Points
532 Posts
Asp.net 1.1 to asp.net 2.0
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
http://imageshack.us/a/img6/6536/erroris.png
Response.Write("Success");
Best Of Luck
Shival Thakur
XIII
All-Star
182702 Points
23463 Posts
ASPInsiders
Moderator
MVP
Re: Asp.net 1.1 to asp.net 2.0
Dec 27, 2012 09:11 AM|LINK
Hi,
if you right click on the project and select Properties. Then the first tab and verify the Target framework.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Steven Cheng...
Contributor
4199 Points
548 Posts
Microsoft
Moderator
Re: Asp.net 1.1 to asp.net 2.0
Jan 01, 2013 05:00 AM|LINK
Hi Shival,
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)
http://technet.microsoft.com/en-us/library/cc754523(v=WS.10).aspx
#Versions of the .NET Framework and the IIS6 Application Pools
http://www.codeproject.com/Articles/18223/Versions-of-the-NET-Framework-and-the-IIS6-Applica
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 server)
#Introducing IIS Express
http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
#Web Servers in Visual Studio for ASP.NET Web Projects
http://msdn.microsoft.com/en-us/library/58wxa9w5.aspx
Feedback to us
Microsoft One Code Framework