Kbase P118144: Error 5890 running code referencing an ActiveX control in a Progress session spawned via the AppServ
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/3/2008 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
SYMPTOM(s):
Error 5890 running code referencing an ActiveX control
Procedure executed on the AppServer spawns a PROWIN32.EXE process that runs the procedure containing the ActiveX control
PROWIN32.EXE process runs the procedure containing the ActiveX control
Error occurred while accessing component property/method: <property or method name>.
<COM message>
Error code: <Program name> (5890)
Error occurred while accessing component property/method: LoadControls.
Not enough storage is available to complete this operation.
Error code: 0x8007000e <Program Name> (5890).
Code executed by AppServer does not use the ActiveX control directly
AdminService is started using the Local Administrator account
Increasing the Windows Heap Size to 3MB in all settings has no effect
Using ShellExecute API does not prevent the problem
Code executes properly when run in a normal Progress session
Code executes properly when the AdminService is started with the LocalSystem account
CAUSE:
Any process deriving from the AdminService (NameServer, AppServer, PROWIN32.EXE session spawned by the AppServer) inherits the rights and permissions of the user that started the service. It would seem that the user inherits some rights from the NT AUTHORITY\SERVICE account which prevents the interactive Progress session from operating properly.
FIX:
Use the LocalSystem account to start the AdminService