Solved

CompilationLock error on build

Posted on 2012-03-21
3
567 Views
Last Modified: 2012-04-16
Hi,

I use Visual Web developer 2010. A project was running fine until yday. I didnt do any configuration changes since a long time. Today it is giving me many build errors; the first one is copied below:
The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception.      

I had VS 2008 open and running when I opened 2010. That is when the errors started coming up. I have restarted IIS, Visual Web Developer 2010, my computer; but the errors are still showing up. I am running VWD 2010 as admin.

When I browse to the website (without compiling), it looks fine. The most recents changes are also reflected in there. But I can't build the project

Any workarounds?

      
Thanks,
0
Comment
Question by:IT-CICA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37752575
Is the web site running from IIS?  What is the target framework for the web site on IIS?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37765265
0
 

Author Closing Comment

by:IT-CICA
ID: 37852356
Thank you
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question