title: 80070005 Access is denied,when asp.net website with crystal report is deployed on dedicated server
body: <p>I have an asp.net application which is displaying the report using crystal report.The application is working properly on my local PC.I deployed this application on our dedicated server and also installed crystal report run time engine on dedicated server.when i try to press the report in order to see the report,i am getting the above error.I changed the permission of  folder "C:\Windows\Temp" to full controll(by choosing property of "temp" folder,full controll permission for all users(IIS-users,network..etc)).I am not sure whether this is the right way to give full control permission to this folder(i am not that much aware about networking concepts).But i am still getting the same error.The error is:</p>
  
  <blockquote>
    <p>Retrieving the COM class factory for component with CLSID
    {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following
    error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005
    (E_ACCESSDENIED)).</p>
    
    <p>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. </p>
    
    <p>Exception Details: System.UnauthorizedAccessException: Retrieving the
    COM class factory for component with CLSID
    {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following
    error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005
    (E_ACCESSDENIED)). </p>
    
    <p>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 and IIS 7, and
    the configured application pool identity on IIS 7.5) that is used if
    the application is not impersonating. If the application is
    impersonating via , the identity will be
    the anonymous user (typically IUSR_MACHINENAME) or the authenticated
    request user. </p>
    
    <p>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.</p>
  </blockquote>