RE: Compiler Error Message: CS0007

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jim Cheshire [MSFT] (jamesche_at_online.microsoft.com)
Date: 04/07/04


Date: Wed, 07 Apr 2004 20:42:22 GMT

Hi Sam,

Great. Thanks for the update.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
jamesche@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=?=" <anonymous@discussions.microsoft.com>
>References: <07370ECC-41E2-4E4C-B7F1-CA88DB17C9F1@microsoft.com>
<z#wVYFCGEHA.3244@cpmsftngxa06.phx.gbl>
>Subject: RE: Compiler Error Message: CS0007
>Date: Wed, 7 Apr 2004 13:21:05 -0700
>Lines: 65
>Message-ID: <29EF2E39-0BE2-4B7F-8120-59E1702EDD7B@microsoft.com>
>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
     jamesche@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?= <rhill@wfubmc.edu>>Subject: Compiler Error
Message: CS0007
>Date: Thu, 1 Apr 2004 06:21:14 -0800
>Lines: 11
>Message-ID:
<07370ECC-41E2-4E4C-B7F1-CA88DB17C9F1@microsoft.com>>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]
     
>
>



Relevant Pages

  • RE: How to judge whether it is under the design mode?
    ... Developer Support ... >Importance: normal ... >Priority: normal ... I want to get the file path of the currently editing ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: cant debug since SP2
    ... Jim Cheshire [MSFT] ... ASP.NET Developer Support ... | Thread-Topic: can't debug since SP2 ... | "Jim Cheshire " wrote: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Has anyone seen this one?
    ... >Importance: normal ... >Priority: normal ... >There was a failure executing the send pipeline: ...
    (microsoft.public.biztalk.general)
  • RE: Pb with BTS2004 Mapper
    ... >Importance: normal ... >Priority: normal ... Use of included script samples are subject to the terms specified at ... For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated. ...
    (microsoft.public.biztalk.general)
  • RE: Problem with degugging - Please help.
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >Importance: normal ... >Priority: normal ...
    (microsoft.public.vsnet.debugging)