cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

A dynamic link library (DLL) initialization routine failed HRESULT exception: 0x8007045A

Former Member
4,416

An unexcepted error occurs from time to time causing an application to crash while tempting to run a crystal report edition.
If the user restart the app the report may works but the same message can occurs later.

Running the progress application in window admin mode seems to prevent this message, but this is not an option.

This behaviour is not reproducible, it seems random.

The dll concerned seems to be clientdoc.dll (CRforVS_redist_install_32bit_13_0_2)

Retrieving the COM class factory for component with CLSID {F734A321-8381-4FFD-A614-139E8906DC83} failed due to the following error:

A dynamic link library (DLL) initialization routine failed. (HRESULT exception: 0x8007045A)

The registry indicates that this refers to this dll -

[HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{F734A321-8381-4FFD-A614-139E8906DC83}\InprocServer32]
@="C:\\Program Files (x86)\\SAP BusinessObjects\\Crystal Reports for .NET Framework 4.0\\Common\\SAP BusinessObjects Enterprise XI 4.0\\win32_x86\\clientdoc.dll" "ThreadingModel"="Both"

Why the initialization for their clientdoc.dll is failing sometimes ?

View Entire Topic
0 Likes

Read the info about updating to SP 21, you need to update your references to 3500.

Check the App.config file and be sure all all referencing 3500.

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Don