Reputation: 6224
Trying to access Crystal Report through ASP.NET Web Forms application and get the following error when trying to run the report.
System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} failed due to the following error: 8007007f The specified procedure could not be found. (Exception from HRESULT: 0x8007007F).
I confirmed:
Upvotes: 2
Views: 836
Reputation: 3991
About 10 years ago one of my users ran into a similar issue. Setting the the Crystal-related application's exe (right-click, properties, Compatibility tab, ...) to XP compatibility mode solved the problem. Worth a try...
Upvotes: 0
Reputation: 6224
I found the root cause, or at least part of it..
I had Shibboleth SP (version 3, if that matters) installed on the same server, and it added some components and IIS modules which seemed to cause a conflict with Crystal Reports OEM components.
I uninstalled Shibboleth SP and I no longer get the error.
I reinstalled Shibboleth SP and I once again get the Crystal COM error.
Crystal doesn't like Shibboleth, and this apparently is a known issue: https://shibboleth.net/pipermail/users/2021-January/048923.html
SysInternals Process Monitor is also helpful for confirming the problem, if this happens to you (and if you aren't using Shibboleth, i.e.: some other component is making Crystal choke.)
Upvotes: 0
Reputation: 1
If you had googled that error you would probably have found out it's because Office is not installed on your server. For a very good reason. Microsoft does not support Office applications used in this manner. You will have to find some way else to do whatever it is that you are trying to do.
Upvotes: -1