Monday, March 26, 2012

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\Microsoft.NET\Framework\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?Hi
This error indicates various initialization failures. Reinstall Visual Studi
o.
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\Microsoft.NET\Framework\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?
>
OK, first I reinstalled the framework 1.1 - It still happened.
I then "Reinstalled 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\microsoft.net\framework\v1.1.4322\temporary asp.net
files\peb.intranet.2. 0\c9e073a6\c1381c80\assembly\dl2\2820a9d
4\20469c4b_7422
c401\interop.combiztalksuspendedqueue.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\microsoft.net\framework\v1.1.4322\temporary asp.net
files\peb.intranet.2.0\c9e073a6\c1381c80\assembly\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]" <RavikanthMVP@dotnet.itags.org.discussions.microsoft.com> wrote in message news:<7294B7D8-7DDC-4
8FE-AA17-E3909F8C4FDD@dotnet.itags.org.microsoft.com>...
> Hi
> This error indicates various initialization failures. Reinstall Visual Stu
dio.
> Ravikanth[MVP]
>
> "Russ" wrote:
>

We also know about this problem and a temporary solution (workaround) that w
orks.
Annoying but faster than closing visual studio. When you compile the soluti
on,
and then you get this error when you run it...try changing the mode from Deb
ug to
Release and back to Debug or toggle it to the opposite. From there, try run
ning
the application again. It should go away.
We found that it has something to do with Component Services and
Transactions...<mumbles>
Mythran

0 comments:

Post a Comment