The information in this article applies to product: e-Work 6.6.3
Issue
When trying to open the e-Work Designer, the user is presented with the following error:
Unable to close the Jscript.NET Script Host Access is denied
An error similar to the following is written to the Windows application event log:
A method call to an object in a COM+ application was rejected because the caller is not properly authorized to make this call. The COM+ application is configured to use Application and Component level access checks, and enforcement of these checks is currently enabled. The remainder of this message provides information about the component method that the caller attempted to invoke and the identity of the caller.
Destination of the rejected call:
Application Id: \{C4E0FA00-475D-11D4-85D6-00105AD8842F\}
CLSID: \{3936E5B0-2BD7-448C-921F-ED01E0112941\}
IID: \{C346FD4A-49EB-4019-94A3-444CD4E92408\}
Method \#: 9
Class: eWork.Engine.ScriptHost.ScriptHostLoader
Interface: (unknown)
Method: (unknown)
Caller Information:
Svc/Lvl/Imp = 10/6/1, Identity = WIN2K3\\ework
Resolution
- This error only occurs if .NET Framework 2.0 is installed on the same computer as the 6.6.3 Engine and Designer.
- Verify the following as stated in the Release Notes for e-Work 6.6.3:
If the Designer is installed on the same machine as the Engine, the user running the Designer must be included in the Metastorm e-Work Engine COM+ Administrator Role.
Go to Start --> Settings --> Control Panel --> Administrative Tools --> Component Services --> Computers --> My Computer --> Applications --> Metastorm e-Work Engine --> Roles --> Administrator --> Users. Add the user logged in to the computer (i.e., the user running the Designer) if they are not already listed by name or are not a member of a group that is listed.
- In addition, verify that the Administrator Role is given access to the COM component eWork.Engine.ScriptHost.ScriptHostLoader. Go to Start --> Settings --> Control Panel --> Administrative Tools --> Component Services --> Computers --> My Computer --> Applications --> Metastorm e-Work Engine --> Components --> eWork.Engine.ScriptHost.ScriptHostLoader. Right-click, select Properties --> Security. Make sure both Enforce component level access checks and the Administrator role are checked.