473,503 Members | 3,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler Error Message: CS0007

Every time I navigate to any .aspx file on my computer, I get the error below. According to MSDN this indicates that my CLR is corrupt, but I've re-installed the .NET framework with no help. Also reinstalled VS.NET; still nothing. Any ideas?

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

Nov 18 '05 #1
3 5090
This can be caused by permissions issues as well. The first thing I would
try is deleting the process account (ASPNET by default) and then run
aspnet_regiis -i to let it get recreated. If it still doesn't work, I
would download Regmon and Filemon from www.sysinternals.com and get logs to
see where you might be failing.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
Thread-Topic: Compiler Error Message: CS0007
thread-index: AcQX9Jcw22KhrKqNTqajZGImI4nzsg==
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
From: =?Utf-8?B?Um9iZXJ0?= <rh***@wfubmc.edu>
Subject: Compiler Error Message: CS0007
Date: Thu, 1 Apr 2004 06:21:14 -0800
Lines: 11
Message-ID: <07**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:222863
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Every time I navigate to any .aspx file on my computer, I get the error below. According to MSDN this indicates that my CLR is corrupt, but I've
re-installed the .NET framework with no help. Also reinstalled VS.NET;
still nothing. Any ideas?

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]


Nov 18 '05 #2
This can be caused by permissions issues as well. The first thing I would
try is deleting the process account (ASPNET by default) and then run
aspnet_regiis -i to let it get recreated. If it still doesn't work, I
would download Regmon and Filemon from www.sysinternals.com and get logs to
see where you might be failing.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
Thread-Topic: Compiler Error Message: CS0007
thread-index: AcQX9Jcw22KhrKqNTqajZGImI4nzsg==
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
From: =?Utf-8?B?Um9iZXJ0?= <rh***@wfubmc.edu>
Subject: Compiler Error Message: CS0007
Date: Thu, 1 Apr 2004 06:21:14 -0800
Lines: 11
Message-ID: <07**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:222863
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Every time I navigate to any .aspx file on my computer, I get the error below. According to MSDN this indicates that my CLR is corrupt, but I've
re-installed the .NET framework with no help. Also reinstalled VS.NET;
still nothing. Any ideas?

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]


Nov 18 '05 #3
Hi Sam,

Great. Thanks for the update.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
Thread-Topic: Compiler Error Message: CS0007
thread-index: AcQc3dqPsbGwCeMCRSORZW3OzgFkVw==
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
From: "=?Utf-8?B?U2FtIEhhcm5hY2s=?=" <an*******@discussions.microsoft.com>
References: <07**********************************@microsoft.co m> <z#**************@cpmsftngxa06.phx.gbl>Subject: RE: Compiler Error Message: CS0007
Date: Wed, 7 Apr 2004 13:21:05 -0700
Lines: 65
Message-ID: <29**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:224276
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I used the Regmon utility like Jim suggested and found a couple of registry keys that the ASPNET account was trying to access.

HKEY_CLASSES_ROOT\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}
HKEY_CLASSES_ROOT\CLSID\{0A29FF9E-7F9C-4437-8B11-F424491E3931}
HKEY_CLASSES_ROOT\CLSID\{6EB22881-8A19-11D0-81B6-00A0C9231C29}
HKEY_CLASSES_ROOT\CLSID\{CB2F6723-AB3A-11d2-9C40-00C04FA30A3E}

After granting READ access for the ASPNET account to these keys everything
seems to be working.

--Sam

----- Jim Cheshire [MSFT] wrote: -----

This can be caused by permissions issues as well. The first thing I
would
try is deleting the process account (ASPNET by default) and then run
aspnet_regiis -i to let it get recreated. If it still doesn't work, I
would download Regmon and Filemon from www.sysinternals.com and get
logs to
see where you might be failing.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------Thread-Topic: Compiler Error Message: CS0007
thread-index: AcQX9Jcw22KhrKqNTqajZGImI4nzsg==
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
From: =?Utf-8?B?Um9iZXJ0?= <rh***@wfubmc.edu>>Subject: Compiler Error Message: CS0007Date: Thu, 1 Apr 2004 06:21:14 -0800
Lines: 11
Message-ID: <07**********************************@microsoft.co m>>MIME-Version: 1.0Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:222863NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Every time I navigate to any .aspx file on my computer, I get the
error
below. According to MSDN this indicates that my CLR is corrupt, but
I've
re-installed the .NET framework with no help. Also reinstalled
VS.NET;
still nothing. Any ideas?

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]


Nov 18 '05 #4

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

Similar topics

1
2191
by: Mikko Nieminen | last post by:
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...
8
1865
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
30
2907
by: Neil Zanella | last post by:
Hello, Allow me to share my frustrations with GNU g++. This is the second time something similar happens to me: I can't find anything wrong with my C++ program and yet I get segfaults, and...
3
5241
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
4
3293
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
1
1161
by: Ritish | last post by:
when i try to run .aspx page as http:/localhost/forst.aspx, iget a compiler error as CS0007:Common language runtime initiazation error.What is this error and how to correct it?I have got .NET...
2
245
by: Robert | last post by:
Every time I navigate to any .aspx file on my computer, I get the error below. According to MSDN this indicates that my CLR is corrupt, but I've re-installed the .NET framework with no help. Also...
3
1917
by: Bill Heckle | last post by:
So I was happily coding away. I made a lot of changes to my code and decided to debug it. I kept getting the error that the project was not setup to debug. I tried one of my simple test...
1
1713
by: mj | last post by:
When I'm trying to run any asp.net application, the following error appears: "CS0007: Unexpected common language runtime initialization error --Catastrophic failure" I've reinstalled .NET...
0
7064
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...
0
7261
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,...
0
7315
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...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4991
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...
0
4665
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...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.