VS 2003 to VS 2005

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
 
C

Chris Fulstow

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

Guest

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
 
R

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,709
Latest member
AustinMudi

Latest Threads

Top