My ObjectFactory talks to a COM dll, which in turn uses a SqlServer DB and returns Objects back to the Object Factory. The dll is a 32 bit x86 dll supplied by a third party as is the DB.
On my Windows 7 machine in the Development Web server, everything has been working fine. I used the same technique to install the dll on Windows Server 2008 Server (Install the dll, register it by running c:\Windows\SYSWOW64\regsvr32.exe). But on the server I keep getting the same dreaded error:
error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
My machine and Server have comparable OS. The difference is that locally I am using the Development Web, and it is IIS 7 on the server. Could it be that the IIS configuration has something to do with the error. When I try to read my 800 page IIS 7 book, my eyes glaze over. Seeing that so many smart people frequent this site, I though I'll post this question here.
There must be something magical about posting a message on this forum. Problem got solved within 15 minutes. Application Pool has a setting "Allow 32 bit Applications". Set it to True.
Copyright (c) Marimer LLC