Kbase 19859: ACTIVEX - Error 6087, How to Check Installation
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  22/04/2008 |
|
Status: Verified
SYMPTOM(s):
Error: Specified ActiveX control is not registered or the .ocx file was moved from where it was registered.
Error occurred in procedure: <procedure name> (6087)
CAUSE:
When an ActiveX (OCX) object is used in a Progress program, the AppBuilder or User Interface Builder creates a binary file with extension .wrx that contains information about the OCX and the property values specified at design time.
The Windows Registry entry for the specified OCX is included in the
.w (source code) as a comment. For example:
Spinner OCXINFO:CREATE-CONTROL from:
{EAF26C8F-9586-101B-9306-0020AF234C9D} type: CSSpin
You can search for OCXINFO to find the reference to the specific OCX object. In the above example, Spinner is the widget name of the OCX and CSSPin is the actual name of the OCX. The number in curly braces corresponds to the Registry key for the OCX. You can search this number in the Registry, specifically in the path, \HKEY_CLASSES_ROOT. For the CSSPin OCX, you may find the entry:
\HKEY_CLASSES_ROOT\CLSID\{EAF26C8F-9586-101B-9306-
0020AF234C9D}
FIX:
Register the OCX manually using the regsvr32.exe command.
For example:
regsvr32 csspin32.ocx