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 –...
- The Bungie.NET website This article over at MSDN discusses the design, architecture and...
- MissingMethodException: ? Sometimes though when you’re changing interfaces across several projects, you...
- DateTime.Parse() is locale sensitive The DateTime.Parse() method (and all its derivatives, i assume) are...
Trackbacks /
Pingbacks