Wrong target .NET framework version on IIS? You application on IIS configured to use .NET 1.1 but you project build with .NET 2.0(3.5)
Regards 2009/8/21 Abbas <[email protected]>: > > I receive the error given below whenever I add a new page to my > project. I've tried rebuilding the project, as well as deleting the > DLLs myself and building again. I even tried making a new virtual > directory in IIS but I still receive the same error message? Any ideas > what could be causing it? > > Parser Error Message: Could not load type 'XXX.XXX.WebForm1'. > > Source Error: > > > Line 1: <%@ Page Language="C#" AutoEventWireup="true" > CodeBehind="WebForm1.aspx.cs" Inherits=XXX.XXX.WebForm1" %> > Line 2: > Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// > EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > Source File: /xxx/webform1.aspx Line: 1 > >
