Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / September 2003

Tip: Looking for answers? Try searching our database.

Compiler error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mikko Nieminen - 14 Sep 2003 00:52 GMT
Hello!

Has anyone solutions for error below. I've searched possible sites and read
every
tech document. I've reinstalled framework(1.1) and  Visual Studio (2003).

-mikko-

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\microsoft.net\framework\v1.1.4322\temporary asp.net
files\vvonet\1f7bc6d0\df0d6467\xprr_30d.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\vvonet\1f7bc6d0\df0d6467\assembly\dl2\aa3ea9c3\d06dda21_7c79c301\vvone
t.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\vvonet\1f7bc6d0\df0d6467\assembly\dl2\ec76918b\c26382b6_e63bc301\tmswe
bcontrols.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\vvonet\1f7bc6d0\df0d6467\assembly\dl2\14c759cc\001e1e0a_d1f1c201\obout
_asptreeview_xp_net.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\vvonet\1f7bc6d0\df0d6467\assembly\dl2\e6a7033a\90cc3c0a_5dddc201\micro
soft.web.ui.webcontrols.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll" /out:"C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\vvonet\1f7bc6d0\df0d6467\ys3xdbmj.dll" /D:DEBUG /debug+ /optimize-
/win32res:"C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\vvonet\1f7bc6d0\df0d6467\ys3xdbmj.res" /warnaserror /w:1
"C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\vvonet\1f7bc6d0\df0d6467\ys3xdbmj.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:       using ASP;
Line 26:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 29:       public class MainContent_aspx : VVONet.MainContent,
System.Web.SessionState.IRequiresSessionState {
Line 30:
Line 31:
Line 32:           #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 33:           protected System.Web.UI.HtmlControls.HtmlForm Form1;
Line 34:
Line 35:           #line default
Line 36:           #line hidden
Line 37:
Line 38:           private static bool __initialized = false;
Line 39:
Line 40:           private static object __stringResource;
Line 41:
Line 42:           private static System.Collections.ArrayList
__fileDependencies;
Line 43:
Line 44:           public MainContent_aspx() {
Line 45:               System.Collections.ArrayList dependencies;
Line 46:               if ((ASP.MainContent_aspx.__initialized == false)) {
Line 47:                   ASP.MainContent_aspx.__stringResource =
System.Web.UI.TemplateControl.ReadStringResource(typeof(ASP.MainContent_aspx
));
Line 48:                   dependencies = new
System.Collections.ArrayList();
Line 49:
dependencies.Add("c:\\inetpub\\wwwroot\\VVONet\\MainContent.aspx");
Line 50:                   ASP.MainContent_aspx.__fileDependencies =
dependencies;
Line 51:                   ASP.MainContent_aspx.__initialized = true;
Line 52:               }
Line 53:               this.Server.ScriptTimeout = 30000000;
Line 54:           }
Line 55:
Line 56:           protected override bool SupportAutoEvents {
Line 57:               get {
Line 58:                   return false;
Line 59:               }
Line 60:           }
Line 61:
Line 62:           protected ASP.Global_asax ApplicationInstance {
Line 63:               get {
Line 64:                   return
((ASP.Global_asax)(this.Context.ApplicationInstance));
Line 65:               }
Line 66:           }
Line 67:
Line 68:           public override string TemplateSourceDirectory {
Line 69:               get {
Line 70:                   return "/VVONet";
Line 71:               }
Line 72:           }
Line 73:
Line 74:           private System.Web.UI.Control __BuildControlLabel1() {
Line 75:               System.Web.UI.WebControls.Label __ctrl;
Line 76:
Line 77:               #line 15 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 78:               __ctrl = new System.Web.UI.WebControls.Label();
Line 79:
Line 80:               #line default
Line 81:               #line hidden
Line 82:               this.Label1 = __ctrl;
Line 83:
Line 84:               #line 15 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 85:               __ctrl.ID = "Label1";
Line 86:
Line 87:               #line default
Line 88:               #line hidden
Line 89:
Line 90:               #line 15 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 91:
((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("style", "Z-INDEX:
101; LEFT: 16px; POSITION: absolute; TOP: 16px");
Line 92:
Line 93:               #line default
Line 94:               #line hidden
Line 95:               System.Web.UI.IParserAccessor __parser =
((System.Web.UI.IParserAccessor)(__ctrl));
Line 96:
Line 97:               #line 15 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 98:               __parser.AddParsedSubObject(new
System.Web.UI.LiteralControl("Label"));
Line 99:
Line 100:              #line default
Line 101:              #line hidden
Line 102:              return __ctrl;
Line 103:          }
Line 104:
Line 105:          private System.Web.UI.Control __BuildControlForm1() {
Line 106:              System.Web.UI.HtmlControls.HtmlForm __ctrl;
Line 107:
Line 108:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 109:              __ctrl = new System.Web.UI.HtmlControls.HtmlForm();
Line 110:
Line 111:              #line default
Line 112:              #line hidden
Line 113:              this.Form1 = __ctrl;
Line 114:
Line 115:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 116:              __ctrl.ID = "Form1";
Line 117:
Line 118:              #line default
Line 119:              #line hidden
Line 120:
Line 121:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 122:              __ctrl.Method = "post";
Line 123:
Line 124:              #line default
Line 125:              #line hidden
Line 126:              System.Web.UI.IParserAccessor __parser =
((System.Web.UI.IParserAccessor)(__ctrl));
Line 127:
Line 128:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 129:              __parser.AddParsedSubObject(new
System.Web.UI.LiteralControl("\r\n\t\t\t<DIV style=\"WIDTH: 272px; POSITION:
relative; HEIGHT: 336px\" ms_positioning=" +
Line 130:  "\"GridLayout\">\r\n\t\t\t\t"));
Line 131:
Line 132:              #line default
Line 133:              #line hidden
Line 134:
Line 135:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 136:              this.__BuildControlLabel1();
Line 137:
Line 138:              #line default
Line 139:              #line hidden
Line 140:
Line 141:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 142:              __parser.AddParsedSubObject(this.Label1);
Line 143:
Line 144:              #line default
Line 145:              #line hidden
Line 146:
Line 147:              #line 13 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 148:              __parser.AddParsedSubObject(new
System.Web.UI.LiteralControl("</DIV>\r\n\t\t"));
Line 149:
Line 150:              #line default
Line 151:              #line hidden
Line 152:              return __ctrl;
Line 153:          }
Line 154:
Line 155:          private void __BuildControlTree(System.Web.UI.Control
__ctrl) {
Line 156:              System.Web.UI.IParserAccessor __parser =
((System.Web.UI.IParserAccessor)(__ctrl));
Line 157:
Line 158:              #line 1 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 159:
__parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(0, 619,
true));
Line 160:
Line 161:              #line default
Line 162:              #line hidden
Line 163:
Line 164:              #line 1 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 165:              this.__BuildControlForm1();
Line 166:
Line 167:              #line default
Line 168:              #line hidden
Line 169:
Line 170:              #line 1 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 171:              __parser.AddParsedSubObject(this.Form1);
Line 172:
Line 173:              #line default
Line 174:              #line hidden
Line 175:
Line 176:              #line 1 "c:\inetpub\wwwroot\VVONet\MainContent.aspx"
Line 177:              __parser.AddParsedSubObject(new
System.Web.UI.LiteralControl("\r\n\t</body>\r\n</HTML>\r\n"));
Line 178:
Line 179:              #line default
Line 180:              #line hidden
Line 181:          }
Line 182:
Line 183:          protected override void FrameworkInitialize() {
Line 184:
SetStringResourcePointer(ASP.MainContent_aspx.__stringResource, 619);
Line 185:              this.__BuildControlTree(this);
Line 186:              this.FileDependencies =
ASP.MainContent_aspx.__fileDependencies;
Line 187:              this.EnableViewStateMac = true;
Line 188:              this.Request.ValidateInput();
Line 189:          }
Line 190:
Line 191:          public override int GetTypeHashCode() {
Line 192:              return -1578035480;
Line 193:          }
Line 194:      }
Line 195:  }
Line 196:

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Michael Green - 16 Sep 2003 01:55 GMT
Mikko,

I did a search and found a few cases where people were running into the
exact same problem. The problem was solved by doing a installation repair.
For more information about how to do such a repair please see:
http://support.microsoft.com/?id=306160

Thanks,

Michael Green
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.