80070005 Access is denied, while deploying asp.net website with crystal report. Print

  • 0

You may face the below error while generating the report for your asp.net website with crystal report run time installed on the server.

Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B}
failed due to the following error. 800700005 Access is denied. (Exception from HRESULT:0x80070005

It could be various reasons for this error, like permissions or misconfiguration of application pool, etc. Here, we have mentioned some settings that can help to fix your issue.

Option :1 

Ensure that your application pool identity has the proper permission for the website root folder. Also, be sure about your application pool identity user before applying for permission. If the issue doesn't fix, you can go for the other options.

Option :2 

You may be running on a Windows server with 64 bit OS. Enable 32-bit applications for the Application Pool. Please refer to the below steps to do it. 

  1. Open the IIS.

  2. Click on the basic settings to find out the name of your application pool.

  3. Click on the Application pools.

  4. From the filter option, search for your application pool.

  5. Right-click on the application pool and click on advanced settings.

  6. Set the Enable 32-bit applications to the true.

Option :3

Provide read/write permission to the website application pool identity to the C:\Windows\Temp folder. If the issue doesn't fix, you should revert these changes.

Option: 4

Find the Crystal report folder on your server. It should be located at C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.x\Common\SAP BusinessObjects Enterprise XI 4.x\. Provide the full permission for the application pool identity user to the same folder and check if the issue resolves. Revert the changes, if it doesn't fix your issue. 

Was this answer helpful?

« Back
Sign up for a newsletter