473,543 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler Failed with Error Code 2000

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 have installed/repaired the prereqs and .NET
twice to try to resolve the issue.

From the Compiler Output, it appears that a temporary
file (passwordclasse s.dll) can't be located. This is not
a reference that I added, so I assume it's related to one
of the imports??? I am using System.Web.Serv ices,
System.Data.Sql Client, System.Configur ation, System.Xml
and System.Text.

The machine in question is a Pentium 4, 3.00 GHz with 1
gig of RAM. It's new so I just installed VS.NET in the
last week. The problem started yesterday after I cleaned
up some old web directories from IIS.

I have included the entire error displayed below. Thanks
in advance for any help.
Mike

=============== =============== ===============

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.

Compiler Error Message: The compiler failed with error
code 2000.

Show Detailed Compiler Output:
C:\WINDOWS\syst em32> "c:\windows\mic rosoft.net\fram ework\v
1.1.4322
\vbc.exe" /t:library /utf8output /R:"c:\windows\a ssembly\g
ac\system.web\1 .0.5000.0__b03f 5f7f11d50a3a\sy stem.web.dll"
/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c5619
34e089
\system.dll" /R:"c:\windows\a ssembly\gac\sys tem.web.servic
es\1.0.5000.0__ b03f5f7f11d50a3 a\system.web.se rvices.dll" /
R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c56
1934e089
\system.xml.dll " /R:"c:\windows\a ssembly\gac\sys tem.drawin
g\1.0.5000.0__b 03f5f7f11d50a3a \system.drawing .dll" /R:"c:\
windows\microso ft.net\framewor k\v1.1.4322\tem porary
asp.net files\ws_iri\a3 68cf29\3393b0c7 \assembly\dl2
\0a06a769\0089d dd7_cecec201
\passwordclasse s.dll" /R:"c:\windows\a ssembly\gac\sys tem.w
eb.mobile\1.0.5 000.0__b03f5f7f 11d50a3a\system .web.mobile.d
ll" /R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b7
7a5c561934e089
\system.data.dl l" /R:"c:\windows\a ssembly\gac\sys tem.enter
priseservices\1 .0.5000.0__b03f 5f7f11d50a3a\sy stem.enterpri
seservices.dll" /R:"c:\windows\m icrosoft.net\fr amework\v1.
1.4322\temporar y asp.net files\ws_iri\a3 68cf29\3393b0c7
\assembly\dl2\e abff948\ce8871d 3_6f92c301
\ws_iri.dll" /out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1
..4322\Temporar y ASP.NET Files\ws_iri\a3 68cf29\3393b0c7
\kk1njxzo.dll" /D:DEBUG=1 /debug+ "C:\WINDOWS\Mic rosoft.N
ET\Framework\v1 .1.4322\Tempora ry ASP.NET
Files\ws_iri\a3 68cf29\3393b0c7 \kk1njxzo.0.vb"
Microsoft (R) Visual Basic .NET Compiler version
7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights
reserved.

vbc : Command line error BC2017 : could not find
library 'c:\windows\mic rosoft.net\fram ework\v1.1.4322
\temporary asp.net files\ws_iri\a3 68cf29\3393b0c7
\assembly\dl2\0 a06a769\0089ddd 7_cecec201
\passwordclasse s.dll'
vbc : Fatal error BC2000 : compiler initialization failed
unexpectedly: The filename, directory name, or volume
label syntax is incorrect.

Show Complete Compilation Source:
Line 1: '----------------------------------------------
--------------------------------
Line 2: ' <autogenerate d>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect
behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9: '----------------------------------------------
--------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.Visua lBasic
Line 15: Imports System
Line 16: Imports System.Collecti ons
Line 17: Imports System.Collecti ons.Specialized
Line 18: Imports System.Configur ation
Line 19: Imports System.Text
Line 20: Imports System.Text.Reg ularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Cach ing
Line 23: Imports System.Web.Secu rity
Line 24: Imports System.Web.Sess ionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.H tmlControls
Line 27: Imports System.Web.UI.W ebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime .CompilerServic es.CompilerGlob alScopeAttrib
ute()> _
Line 32: Public Class Global_asax
Line 33: Inherits WS_IRI.Global
Line 34:
Line 35: Private Shared __initialized As
Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asa x.__initialized
= false) Then
Line 40: ASP.Global_asax .__initialized
= true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:

Jul 21 '05 #1
2 17527
Hello Mike,

Thanks for your post. As I understand, you fail to compile an ASP .NET
project sometimes with the error "compiler failed with error code 2000".
Please correct me if there is any misunderstandin g. Now I'd like to share
the following information with you:

1. I suggest you to backup and delete your application directory from the
"C:\Winnt\Micro soft.NET\Framew ork\v1.1.4322\T emporary ASP.NET Files"
directory. This will force complete recompilation of the application, and
then check whether or not the problem still exists.

2. I searched in google.com for the file passwordclasses .dll with no
result. If it still complains about the passwordclasses .dll, please locate
it on your system other than the "Temporary ASP.NET Files" folder. Add it
into the GAC with the following command:

gacutil -I <directories>\p asswordclasses. dll

I look forward to your result.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
I followed the first suggenstion and so far, so good.
Things seem to be working correctly for now. Thanks for
your help!!
Mike
-----Original Message-----
Hello Mike,

Thanks for your post. As I understand, you fail to compile an ASP .NETproject sometimes with the error "compiler failed with error code 2000".Please correct me if there is any misunderstandin g. Now I'd like to sharethe following information with you:

1. I suggest you to backup and delete your application directory from the"C:\Winnt\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files"directory. This will force complete recompilation of the application, andthen check whether or not the problem still exists.

2. I searched in google.com for the file passwordclasses .dll with noresult. If it still complains about the passwordclasses .dll, please locateit on your system other than the "Temporary ASP.NET Files" folder. Add itinto the GAC with the following command:

gacutil -I <directories>\p asswordclasses. dll

I look forward to your result.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #3

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

Similar topics

4
2502
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...
0
1328
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...
3
2771
by: Russ | last post by:
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...
0
1063
by: Dave Descoteau | last post by:
Never experienced this one before so I am asking for help. I have a Windows XP machine that I am trying to run asp.net pages from. I have the framework installed and IIS working with asp and php4 but not asp.net. My pervious installs have been on 2003 server so I am a little lost with this install. I did follow the instructions in Asp.net...
2
6748
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...
0
1263
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...
0
1217
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...
2
291
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...
3
9206
by: ralphdepping | last post by:
Trying to get moinmoin wiki working on Windows 2000 using IIS and python. I get the following error when trying to view the start page after insalling moinmoin and python - key error seems to be at the end related to socket.py (ImportError: WSAStartup failed: error code 10107). 10107 is "A system call that should never fail has...
0
7399
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...
0
7341
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...
0
7584
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. ...
0
7729
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5880
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5258
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...
0
4884
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...
0
3385
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...
0
3386
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.