473,785 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The compiler failed with error code 2000

I keep getting this message "The compiler failed with error code 2000"
when pressing PF5 to run Debug. This is not a compile error, it gets
past the compile. I get this when it tries to load up my web
application. Once I get this message, I then rebuild the solution and
then I can press PF5 and run debug just fine. It started out
happening just once in a while, now it happens every other time I try
and run in Debug mode. I have tried several things, "Rebuild
Solution", Get out of visual Studio and then come back in, and I have
also tried to delete
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files.
All of these options works once, then I have to do it all over again.
Anybody have a more permanent solution?
Nov 18 '05 #1
3 2800
Hi

This error indicates various initialization failures. Reinstall Visual Studio.

Ravikanth[MVP]
"Russ" wrote:
I keep getting this message "The compiler failed with error code 2000"
when pressing PF5 to run Debug. This is not a compile error, it gets
past the compile. I get this when it tries to load up my web
application. Once I get this message, I then rebuild the solution and
then I can press PF5 and run debug just fine. It started out
happening just once in a while, now it happens every other time I try
and run in Debug mode. I have tried several things, "Rebuild
Solution", Get out of visual Studio and then come back in, and I have
also tried to delete
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files.
All of these options works once, then I have to do it all over again.
Anybody have a more permanent solution?

Nov 18 '05 #2
OK, first I reinstalled the framework 1.1 - It still happened.

I then "Reinstalle d Visual Studios" (without uninstalling it first)-
It still happened.

Then I removed/uninstalled Visual Studios and then re-installed it. -
It is still happening.

Here is additional information ...

vbc : Command line error BC2017 : could not find library
'c:\windows\mic rosoft.net\fram ework\v1.1.4322 \temporary asp.net
files\peb.intra net.2.0\c9e073a 6\c1381c80\asse mbly\dl2\2820a9 d4\20469c4b_742 2c401\interop.c ombiztalksuspen dedqueue.dll'

From what I can tell it's looking for a directory that's not on my PC.
When looking at my hard drive I have the following path...

'c:\windows\mic rosoft.net\fram ework\v1.1.4322 \temporary asp.net
files\peb.intra net.2.0\c9e073a 6\c1381c80\asse mbly\dl2\

after the "d12" directory there is no 2820a9d4 directory. There are
10 other directories but not the one Visual Studio is looking for.
If I do a "Re-build Solution", then I can compile in debug again, or
if I get out of Visual studio, come back in, then it will work. I
have even deleted the "temporary asp.net" path.
Any other ideas of what maybe causing this?

"Ravikanth[MVP]" <Ra**********@d iscussions.micr osoft.com> wrote in message news:<72******* *************** ************@mi crosoft.com>...
Hi

This error indicates various initialization failures. Reinstall Visual Studio.

Ravikanth[MVP]
"Russ" wrote:
I keep getting this message "The compiler failed with error code 2000"
when pressing PF5 to run Debug. This is not a compile error, it gets
past the compile. I get this when it tries to load up my web
application. Once I get this message, I then rebuild the solution and
then I can press PF5 and run debug just fine. It started out
happening just once in a while, now it happens every other time I try
and run in Debug mode. I have tried several things, "Rebuild
Solution", Get out of visual Studio and then come back in, and I have
also tried to delete
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files.
All of these options works once, then I have to do it all over again.
Anybody have a more permanent solution?

Nov 18 '05 #3
"Russ" wrote:
I keep getting this message "The compiler failed with error code 2000"
when pressing PF5 to run Debug. This is not a compile error, it gets
past the compile. I get this when it tries to load up my web
application. Once I get this message, I then rebuild the solution and
then I can press PF5 and run debug just fine. It started out
happening just once in a while, now it happens every other time I try
and run in Debug mode. I have tried several things, "Rebuild
Solution", Get out of visual Studio and then come back in, and I have
also tried to delete
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files.
All of these options works once, then I have to do it all over again.
Anybody have a more permanent solution?


We also know about this problem and a temporary solution (workaround) that works.
Annoying but faster than closing visual studio. When you compile the solution,
and then you get this error when you run it...try changing the mode from Debug to
Release and back to Debug or toggle it to the opposite. From there, try running
the application again. It should go away.

We found that it has something to do with Component Services and
Transactions... .<mumbles>

Mythran
Nov 18 '05 #4

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

Similar topics

2
17573
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT compiler as the page is requested by the browser. The result is that the "compiler failed with error code 2000". I have tested the same code on another workstation with VS.NET and it works fine EVERY time. I'm convinced it's not the code and I...
4
2515
by: Jack Wright | last post by:
Dear All, At some customers we are facing a problem when the user tries to launch any aspx page from IE. We are getting "Compiler failed with error code 2000". Is this bcos of some missing resource? I read in the newgroup that said: 1. Re-install IIS ( I applied Windows 2000 SP3 after that) 2. Register Aspnet_isapi.dll as described in Q306005. At this point the problem should have been fixed. I applied the .net framework sp2 again and...
5
1140
by: Jack Wright | last post by:
Dear All, At some customers we are facing a problem when the user tries to launch any aspx page from IE. We are getting "Compiler failed with error code 2000". Is this bcos of some missing resource? I read in the newgroup that said: 1. Re-install IIS ( I applied Windows 2000 SP3 after that) 2. Register Aspnet_isapi.dll as described in Q306005. (this is actually not needed) One more Observation I made was that the length of the Virtual...
0
1354
by: Rich | last post by:
I get this message when running almost every time I do an incremental compile. A full rebuild makes it go away. A subsequent incremental compile causes the problem again. I've read posts about clearing aspnet temp files and tried that, it doesn't work. Any help would be appreciated. Compiler Error Message: The compiler failed with error code 2000.
9
3215
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My questions are below... "David Good" wrote: > We have a network running both Win2k and Win2k3 webservers and our web sites > reside on a UNC network share that happens to be a Network Appliance NAS.
2
6773
by: Roger Wang | last post by:
HELP!!!! We have got a W2k server running IIS5 with .NET framework 1.1 and .NET framework SP1. All ASP.NET applications cannot run on this box. It all returned with the same error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
0
1278
by: jeffpriz | last post by:
We've got an issue here where we regularly receive an error page with the message "Compiler Error Message: The compiler failed with error code 2000." when we begin debug on our projects. The simplest "fix" is to run iisreset and then re-start the debug.. This is extremely annoying, and I've not run into this trouble before, and I really want to find the root cause of it! When I click on the "Show Detailed Compiler Output" link on the...
0
1225
by: Ram | last post by:
Hey, I have a Windows 2000 Advanced Server SP4 with Framework 1.1 installed. I have an ASPNet website that every now and then I get the following error: "Compiler Error Message: The compiler failed with error code -1073741819" The only resolution for this error is kill the aspnet_wp process on the server and deleting the ASPNet cache folder (%windir%\Microsoft.Net\Framework\V1.14322\Temporary ASPNet Files). After a while, the error is...
0
281
by: kailas.j.goliwadekar | last post by:
Hi , I have Win XP , .NET 1.1 with IIS 5.1 installed. When I run my appln in debug mode I get the standard error 'The compiler failed with error code 2000 ' . I close the browser and then run the application in debug mode I dont get the error. But everytime I have to run my appln 2 times to debug,
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4061
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.