« Previous Next »

Thread: LogParser Permission Error (error : 80070005)

Last post 09-03-2008 4:17 AM by tuantomy. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 08-21-2008, 1:58 AM

    LogParser Permission Error (error : 80070005)

     Hello,

     I'm trying to apply the LogParser for my website, which is running with ASP .NET. Before I deploy my site to web server (Windows Server 2003), I've tried implementing the LogParser in my Vista (IIS 7) and it ran very well. However, after I deployed my site into the web server, I got this error message everytime I try to access the site :

    Retrieving the COM class factory for component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the following error: 80070005.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the following error: 80070005.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Retrieving the COM class factory for component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the following error: 80070005. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }  

    For the security scheme, I use ASP's Windows Authentication without impersonation. I've tried to enable the impersonation, but still fails. Any clue?

     

    I really need help for this problem.

     

    Thanx.

  • 09-03-2008, 4:17 AM In reply to

    • tuantomy
    • Not Ranked
    • Joined on 09-03-2008, 3:53 AM
    • Posts 4

    Re: LogParser Permission Error (error : 80070005)

    1. Please install LogParser in your system.

    2. Check in COM by click on Start -> Run and type: dcomcnfg.exe

    Browser to Component Services\Computers\My Computer\DCOM Config\

    Take a loook at list and find out Interop.MSUtil, if you dont see it, please go to LogParser installed folder, right click on logparser.dll and copy it. Then, go to C:\Windows\System32 and right click on regsvr32.exe, and paste. You will receive the message "...*.dll has been regsitered successfull !" ...

     

Page 1 of 1 (2 items)
Microsoft Communities