The information in this article applies to:
Product: Metastorm BPM
Version: 7.x
Issue
When opening and closing the Designer through a Remote Desktop / Terminal Services connection, the following error may appear:
Unable to close the JScript.NET Script Host
The server process could not be started because the configured identity is incorrect. Check the username and password, ClassID:
\{267ECC24-CB85-4C55-85CD-7EECCC48461B\}
Resolution
This error appears when no user is logged on locally to the server running the Designer and the identity of the Metastorm ScriptHost component in COM+ on the server is set to Interactive User (the default setting).
Section 4.17 of the Metastorm BPM version 7 Installation Guide states the following:
*If an attempt is made to run the Metastorm Designer (or to run a database migration � which uses the Designer to republish procedures) through a remote desktop connection, the following error message may be reported:
"Failed to close JScript.NET Script Host"
The Metastorm Script Host COM+ component cannot be invoked by the Designer because the identity the Designer is running under is incorrectly identified as that of the user that is logged on to the workstation running Remote Desktop, rather than the user id used to log-in to the remote machine.
This issue can be overcome by changing the identity of the Metastorm ScriptHost COM+ package.*
To change the identity of the Metastorm ScriptHost COM+ package, go to Start --> Settings --> Control Panel --> Administrative Tools --> Component Services --> Computers --> My Computer --> COM+ Applications --> Metastorm ScriptHost. Right-click and select Properties --> Identity. Select Local Service as the account and click OK.