Kbase P94159: Error 5894 when trying to run automation code with 4GL application in Windows
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/09/2008 |
|
Status: Verified
SYMPTOM(s):
Error 5894 when trying to run automation code with 4GL application in Windows
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: <application type>.application.Access is denied.
Error code: 0x80070005 <filename.p> (5894)
FACT(s) (Environment):
Progress 9.x
WebSpeed 3.x
OpenEdge 10.x
Windows NT 32 Intel/Windows 2000
CAUSE:
User does not have permissions to access and launch the automation COM object within the Distributed COM Configuration tool.
FIX:
Grant access and launch privileges to the desired users or everyone to launch the automation COM object.
To check these settings, run the Windows program Dcomcnfg.exe and ensure that the required users have access to launch the automation object.
*****************************************
Steps for Windows XP/Windows Server 2003:
*****************************************
1. From the Start > Run > enter the following and click OK:
C:\WINDOWS\SYSTEM32\dcomcnfg.exe (Windows XP)
C:\WINNT\SYSTEM32\dcomcnfg.exe (Windows Server 2003)
2. In the Component Services window, double click on the Component Services > Computers > My Computer > DCOM Config
3. Choose the appropriate object and right mouse click to go to the properties
4. Click on the Security tab and choose Customize for Launch and Access Permissions
5. In each of those properties, choosing the customize will enable the Edit button. Click the Edit button and add "Everyone" to allow the launch and access right.
**************************
Steps for Windows NT/2000:
**************************
1. From the Start > Run > enter the following and click OK:
C:\WINNT\SYSTEM32\dcomcnfg.exe
2. In the "Distributed COM configuration properties" window, choose the appropriate application and click "Properties" button
3. Under the security tab, choose the "Use custom access permissions" and click edit button to add the "Everyone" to allow access permission.
4. Do the same for the "Use custom launch permission" to add Everyone " group and save the setting by clicking OK button.