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

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 5082
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
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.