M
Mike Fisher
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__b77a5c5619
34e089
\system.dll" /R:"c:\windows\assembly\gac\system.web.servic
es\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.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\temporary
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" /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.CompilerGlobalScopeAttrib
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:
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__b77a5c5619
34e089
\system.dll" /R:"c:\windows\assembly\gac\system.web.servic
es\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.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\temporary
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" /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.CompilerGlobalScopeAttrib
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: