1
votes

I've registered a COM dll using regsvr32 as I've always used to do, but when the code that uses this dll is fired i get the following exception:

Retrieving the COM class factory for component with CLSID {E4F35ED2-71B3-4F6D-A4A9-FAA456365819} failed due to the following error: 80040154.

I checked the error by id and it says that the dll could not be loaded. I checked the registry and the dll is properly registered - what may be the problem in this case?

Edit: the code is fired by Sharepoint.

1

1 Answers

0
votes

Have you tried Dependency Walker? (Make sure that you get the 64 bit version)

Also, its worth noting that you will only be able to load 32 bit assemblies in a 32 bit process, and 64 bit assemblies in a 64 bit process.