Kbase P11875: Error 5894 (0x80004005) when trying to register dll created by ProxyGen
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/25/2008 |
|
Status: Verified
SYMPTOM(s):
ActiveX proxy successfully generated by ProxyGen
Error 5894 received when trying to register the generated proxy using regsvr32.exe
ClassFactory cannot supply requested class
Error occurred while creating/connecting to automation server for: <ProxyNameHere>.
<COM message>
Error code: <0x80004005> (5894)
FACT(s) (Environment):
Progress 9.x
Windows
CAUSE:
The operating system level environment variable named CLASSPATH does not contain the required entries which an ActiveX proxy requires in order to be registered and used
FIX:
To resolve this problem, do the following:
1) Open the 'System' icon within the Control Panel
2) Click the 'Performance' tab
3) Click the 'Environment Variables' button
4) In the 'System variables' section do the following:
A) Click the 'New' button
B) Type 'CLASSPATH' in the 'Variable name' field
C) Type in the fully qualified path (including file name) for the file O4GLRT.ZIP
5) Click the 'OK' button three times to close all windows and exit from the Control Panel
6) Open a new command shell (i.e. C: prompt)
7) Type REGSVR32 YourProxyNameGoesHere.dll