C# – Error retrieving COM class factory – Class not registered

asp.netccom

I'm trying to use the Mailroom Toolkit from Satori to standardize addresses, but every time I try to instantiate an instance of ZIPAssembly, I get the following exception.

{Satori.MailRoomToolKit.US.USException (0x80040154 from
ZIPAssembly::.ctor): Retrieving the COM class factory for component
with CLSID {E1DD1DB5-CEAD-4C36-B2E1-EDEC0DA4C1AC} failed due to the
following error: 80040154 Class not registered (Exception from
HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). at
Satori.MailRoomToolKit.US.Interfaces.ZIPAssembly..ctor()

I've tried regsvr32, but I get the message The module "MRTKUSAssembly.dll" was loaded but the entry-point DllRegisterServer was not found.

I've also tried setting my project target to x86, but that doesn't do it either. Any other ideas? Similar posts have not helped.

Note that I'm running on a 64bit machine and have tried setting my project target to x86 running in the visual studio web server, and setting my project as AnyCPU and running under IIS.

Best Answer

It turns out in this case with the Mailroom Toolkit from Satori, you have to run an install locally before you can use the dll. Seems there are some underlying com components that the dll requires and those need to get installed/registered.

Related Topic