Kbase P19430: Using Open Client ActiveX proxy with a .Net application generates error 0x80040111
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Using Open Client ActiveX proxy with a .Net application
Application gets runtime exception
System.Runtime.InteropServices.COMException (0x80040111): ClassFactory cannot supply requested class
CAUSE:
When the ActiveX proxy is registered the threading model is set to "Both"
FIX:
Modify the 'ThreadingModel' key for your proxy in the registry and change the value from 'Both' to 'Apartment'. The proxy can be found in the registry by searching for the name of the proxy including the .DLL extension.