473,320 Members | 1,817 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,320 software developers and data experts.

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 (passwordclasses.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.Services,
System.Data.SqlClient, System.Configuration, 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\system32> "c:\windows\microsoft.net\framework\v
1.1.4322
\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\g
ac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system. web.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c5619
34e089
\system.dll" /R:"c:\windows\assembly\gac\system.web.servic
es\1.0.5000.0__b03f5f7f11d50a3a\system.web.service s.dll" /
R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__ b77a5c56
1934e089
\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawin
g\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\
windows\microsoft.net\framework\v1.1.4322\temporar y
asp.net files\ws_iri\a368cf29\3393b0c7\assembly\dl2
\0a06a769\0089ddd7_cecec201
\passwordclasses.dll" /R:"c:\windows\assembly\gac\system.w
eb.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web. mobile.d
ll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b7
7a5c561934e089
\system.data.dll" /R:"c:\windows\assembly\gac\system.enter
priseservices\1.0.5000.0__b03f5f7f11d50a3a\system. enterpri
seservices.dll" /R:"c:\windows\microsoft.net\framework\v1.
1.4322\temporary asp.net files\ws_iri\a368cf29\3393b0c7
\assembly\dl2\eabff948\ce8871d3_6f92c301
\ws_iri.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1
..4322\Temporary ASP.NET Files\ws_iri\a368cf29\3393b0c7
\kk1njxzo.dll" /D:DEBUG=1 /debug+ "C:\WINDOWS\Microsoft.N
ET\Framework\v1.1.4322\Temporary ASP.NET
Files\ws_iri\a368cf29\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\microsoft.net\framework\v1.1.4322
\temporary asp.net files\ws_iri\a368cf29\3393b0c7
\assembly\dl2\0a06a769\0089ddd7_cecec201
\passwordclasses.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: ' <autogenerated>
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.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttrib
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_asax.__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 17490
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 misunderstanding. 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\Microsoft.NET\Framework\v1.1.4322\Tempor ary 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>\passwordclasses.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 misunderstanding. 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\Microsoft.NET\Framework\v1.1.4322\Tempo rary 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>\passwordclasses.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
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...
0
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...
3
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...
0
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...
2
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: ...
0
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...
0
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...
2
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...
3
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
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.