I am working on an integration with a product called Accredo using COM. But I am getting the famous Cannot create ActiveX component when I try to create a COM object for Accredo from a webservice. I have looked at some of the other questions that relate to this on stack overflow but no luck. Things I have checked:
Accredo has been registered as a COM server during its installation by running C:\AccredoSaturn\AccredoSaturn.exe /regserver
The webservice is running under IIS 7.5 and is running as the localsystem user with the app pool set to enable 32bit applications.
Heres the line that throws the exception in vb.net:
App = CreateObject("AccredoSaturn.Application")
Is there anything else I can try or something I'm missing?
Thanks
After much time debugging the code, I found that this was being caused by the COM object not being disposed when an exception was thrown. Damn.