473,321 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

VS 2003 to VS 2005

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
Apr 6 '06 #1
3 928
Hi,
Did you reconfigure IIS for your site to use .NET 2.0 under the ASP.NET
tab? I always forget... :)
Chris

Apr 6 '06 #2
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


"Chris Fulstow" <ch**********@hotmail.com> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
Hi,
Did you reconfigure IIS for your site to use .NET 2.0 under the ASP.NET
tab? I always forget... :)
Chris

Apr 6 '06 #3
Any help would be appreciated

Rizwan
<ri*******@hotmail.com> wrote in message
news:Ou**************@TK2MSFTNGP03.phx.gbl...
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


"Chris Fulstow" <ch**********@hotmail.com> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
Hi,
Did you reconfigure IIS for your site to use .NET 2.0 under the ASP.NET
tab? I always forget... :)
Chris


Apr 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: tony | last post by:
Hi Any one know that can VS.net 2005 with vs.net 2003 worked together in one manchine? if it can working together, how can I set up it? Thanks Tony
5
by: Uncle Ben | last post by:
At a recent MSDN conference, one of the presenters vehemently said that VS.NET 2003 (because of its web project) is only good for _single_ developers. He said that if you're working in a team...
8
by: DraguVaso | last post by:
Hi, I had Visual Studio 2003 installed, and installed also visual Studio 2005 Beta 2. The problem is, when I am starting now (double click) a solution (*.sln-file), it always start it with...
7
by: Rene | last post by:
I am still waiting for my copy of VS 2005 that I ordered about 2 weeks ago. When I finally get VS 2005, I will want to continue to run my projects using 2003 and at the same time I want to make a...
3
by: Learner | last post by:
Hi there, I have one another question on VSS 2005 and VS 2003. We had few projects built in VS 2003 and we had all of those projects under the VSS 6.0 until now. But as part of our development...
11
by: Maximus | last post by:
Hi all, Has anyone been able to reterive the gradient selection colors used in outlook 2003? Basically, I have a grid showing a list of records and my client wants the selected row to have the...
10
by: kmich | last post by:
I am planning on learning C#. Would it be best to learn on a full version of 2003 Pro or 2005 Express. What would be the advantages/disadvantages? Thank you for your time.
4
by: John Kotuby | last post by:
Hello all, I have VStudio 2005 currently installed on my workstation. However, I am collaborating on a project with an outside consultant who is using VS 2003. Every so often he sends me new or...
7
by: nithyanand.kn | last post by:
Hi, I am using Visual Studio 2003 currently, but I my next project may require is on .NET 2.0 and hence i will need to install VS.NET 2005. but i dont want to lose VS 2003. Is it possible to...
6
by: Carol | last post by:
Hi. When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.