Crystal Reports component is not working: Retrieving the COM class factory failed: 80070005 Access is denied

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:17:12 UTC

Modified:

2017-01-31 23:34:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Crystal Reports component is not working: Retrieving the COM class factory failed: 80070005 Access is denied

Symptoms

  1. Crystal Reports error:

    /************* (Exception at 10:27:40) *************/
    Exception : Retrieving the COM class factory for component with CLSID {78EEF9EE-38E9-11D5-9B12-00E0B8184571} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    Layer Is : Portal.PaymentGateWay.UI
    Class Name: modules_paymentgateway_knet_gateway_default_aspx
    Exc Body : at ASP.modules_paymentgateway_knet_gateway_default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\\inetpub\\vhosts\\domain.tld\\httpdocs\\Modules\\PaymentGateWay\\KNet\\Gateway\\Default.aspx:line 40
    Time: 10:27:40
  2. Custom Crystal Reports components are installed. They are available for Application Pools which were created manually. An Application Pool, that is created through Plesk, cannot use these components.

Cause

  1. Permission for application pool identity user is missing on Crystal Reports folder (for example, 'C:\\Program Files (x86)\\Business Objects\\Crystal Reports Viewer 2008' ).

  2. Application Pool Identity created through Plesk has permissions for specific directories by default. Custom components are located in others folders.

Resolution

Download and install process monitor to find the "Access denied" errors.

Assign proper permissions to fix the issue.

  1. Download and install Process Monitor tool .

  2. Set Process Monitor filter to show 'Access Denied' errors and find out the missing permissions.

  3. Assign the required permissions.

If nothing helpful was found. Assign security properties "Read", "Read&execute" and "List folder content" for IIS Application pool identity user to Crystal reports install directory (e.g. "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0").

Have more questions? Submit a request
Please sign in to leave a comment.