VS 2003 to VS 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI all,

I migrated my webapplication from VS 2003 to VS 2005. and i am running on
win xp Professional sp2. After migrating. i am getting the following error .

"The type initializer for 'System.Web.Compilation.CompilationLock' threw an
exception." the error is shown in the following line

"<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs"
Inherits="Test" %>"
i looked into the net but couldnt fix this.

any help would be highly appreciated

Thanks in advance,

Rizwan
 
Hi,
Did you reconfigure IIS for your site to use .NET 2.0 under the ASP.NET
tab? I always forget... :)
Chris
 
Hi Chris,

Under ASP.Net Tab it has been configured to ASP.Net 2.0 version only. but
still I am facing the same problem.

"The type initializer for 'System.Web.Compilation.CompilationLock' threw an
exception."

kindly let me know in case I am doing wrong

Many thanks in advance

Rizwan
 
Any help would be appreciated

Rizwan
Hi Chris,

Under ASP.Net Tab it has been configured to ASP.Net 2.0 version only. but
still I am facing the same problem.

"The type initializer for 'System.Web.Compilation.CompilationLock' threw
an exception."

kindly let me know in case I am doing wrong

Many thanks in advance

Rizwan
 
Back
Top