Consultor Eletrônico



Kbase P108562: ASP.NET application calling proxy ActiveX fails on Windows 2003
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/03/2009
Status: Verified

SYMPTOM(s):

Using Open Client ActiveX proxy with a .Net application

Application gets runtime exception

System.Runtime.InteropServices.COMException (0x80004005): ClassFactory cannot supply requested class

FACT(s) (Environment):

Progress 9.1D
Progress 9.1E
Windows 2003

CAUSE:

When the ActiveX proxy is registered the threading model is set to "Both" for both o4glactiveX.dll and the proxy ActiveX itself

FIX:

Modify the 'ThreadingModel' key for your proxy and o4glActiveX.dll in the registry and change the value from 'Both' to 'Apartment'. Find the registry entries using dll names.