CS0007: Unexpected common language runtime initialization error -- 'Class not r

S

Steve

Hi,

I was working fine with .NET 2002 and I installed .NET
2003 and all kinds of issues have occurred. I had a WEB
application written with C# on the XP platform and I was
able to run the application in debug mode on my computer.

After I upgraded to 2003 I am getting this error. I have
completely uninstalled .NET including the framework for
both version 2002,2003 and the error still persists. Any
suggestions.

Server Error in '/****.*****' Application.
-----------------------------------------------------------
---------------------

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: CS0007: Unexpected common language
runtime initialization error -- 'Class not registered '

Source Error:



[No relevant source lines]


Source File: Line: 0



Show Detailed Compiler Output:


C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1
..1.4322
\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\ga
c\system\1.0.5000.0__b77a5c561934e089
\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.500
0.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assemb
ly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\sys
tem.web.services.dll" /R:"c:\windows\microsoft.net\framewor
k\v1.1.4322\temporary asp.net
files\***.***\4cf8fada\9e033267\assembly\dl2\4006b7e4
\3b51b6f5_f53bc301
\microsoft.applicationblocks.exceptionmanagement.dll" /R:"c
:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e
089
\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing
\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\wi
ndows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11
d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\
framework\v1.1.4322\temporary asp.net
files\***.***\4cf8fada\9e033267\assembly\dl2\aadd2c99
\8ae4c33d_434ac301
\***.***.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5
000.0__b77a5c561934e089
\system.data.dll" /R:"c:\windows\assembly\gac\system.enterp
riseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterprise
services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4
322
\mscorlib.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.
1.4322\Temporary ASP.NET Files\****.*****\4cf8fada\9e033267
\uh7m0_fk.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.
1.4322\Temporary ASP.NET Files\***.***\4cf8fada\9e033267
\uh7m0_fk.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights
reserved.

fatal error CS0007: Unexpected common language runtime
initialization error -- 'Class not registered '





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: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribu
te()]
Line 28: public class Global_asax : ***.***.Global {
Line 29:
Line 30: private static bool __initialized =
false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized
== false)) {
Line 34: ASP.Global_asax.__initialized =
true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top