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.