Consultor Eletrônico



Kbase P21109: Error 'The license file for the specified ActiveX control was not found' when adding Progress OCX co
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/01/2010
Status: Verified

SYMPTOM(s):

Error appears when adding Progress OCX components to a Window, within the AppBuilder

CtrlFrame.CSSpin

CtrlFrame.CSComboBox

CtrlFrame.PSTimer

Unable to create control.

The license file for the specified ActiveX control was not found.

Error occurred while creating/connecting to automation server for: <automation object name>. <COM message> Error code: <Program name> (5894)

Error occurred while creating/connecting to automation server for: PSTIMER.PSTimerCtrl.1. Class is not licensed for use. Error code: 0x80040112 <program name> (5894)

FACT(s) (Environment):

Components are registered properly on the system
Windows
Progress 9.x
OpenEdge 10.x

CAUSE:

License key for these components is missing from the registry

FIX:

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs.

1) Open shared.ini file in the Progress DLC folder
2) In the [License] section, copy the alpha-numeric string after 'Subkey='.
3) Open Registry Editor - Start > Run > Regedit
4) Go to HKEY_CLASSES_ROOT\Licenses
5) Right-click on Licenses, select New then Key
6) Paste in the alpha-numeric string as the name of the new Key
7) Select the new Key and double-click on Default (in the right-hand window)
8) In the shared.ini file, copy the string after 'Value=' and paste this into the Value Data area
9) Close Registry Editor
10) Shutdown and restart the AppBuilder for these changes to take effect

You should now be able to use the 3 Progress components