• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Unable to load crystal report on site hosted at plesk server

warnad99

New Pleskian
Hi

I have hosted an ASP.Net web for application trying to load crystal report. I have already insralled crystal reports runtime on server. It is giving access rights issue. kindly suggest a solution.

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)).
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 {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

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 <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 File 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.
 
Hello,

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").

Also, there can be changed permissions on the directory C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0. The psacln group can have Deny rule there. So you may change it to Allow.
 
Back
Top