Gotcha: Converting .NET 1.1 website to .NET 2.0 Web Application
Remember that when you’re converting from an ASP.NET 1.1 web site
project to an ASP.NET 2.0 web application, you need to configure IIS to
run as an application, and run in a .NET 2.0 app pool.
Without doing this, you’ll end up with a broken error like this:
Server Error in ‘/’ Application.
Parser Error=20
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse
error details and modify your source file appropriately.=20
Parser Error Message: Could not load type ‘Project1._Default’.
Source Error:=20
Line 1: < %@ Page Language=3D"C#" AutoEventWireup=3D"true"
CodeBehind=3D"Default.aspx.cs" Inherits=3D"Project1._Default"%>
Line 2: =20
Line 3:
Source File: /project1/default.aspx Line: 1=20
Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433
Related posts:
- Converting an ASP.NET Website to Web-Application I've had to do this so many times in the...
- Switching an IIS website home directory from the command line The title says it all. The problem was simple -...
- Shadow Copy Cache Hell This post may be terse and may possibly contain profanity....
- VS2005 IIS Binding Can be removed In Visual Studio 2005 SP1, the new "web-application" project type...
- Mapping Database Tables To Objects In my last article on the topic of database development,...




June 10th, 2008 at 8:54 pm
[...] I’ve had to do this so many times in the past, i ended up creating my own instructions and gotchas [...]