 |
Support & downloads > |
 |
 |
 |
Error "Input Error: There is no script engine for file extension ".JS"
|
| | | Problem(Abstract) | | Debugging a resource model causes the error above to appear. | | | | | | Cause | | It's possible the association of the "*.js" extension with a script engine/debugger has been lost. | | | | | Resolving the problem | Attempting to debug a Javascript-based Resource Model in the ITM Resource Model Builder (RMB), the "Play" button/icon is selected to start debugging. The Play icon changes from Green to grey, and the Stop icon turns from grey to Red, as it should when debugging is activated. But after a fraction of a second it stops and goes back to green without starting a debugger.
Check the Javascript console for the error. Sometimes if the .JS extension was associated with something else on the system other than JSFile, it won't be able to find the "ScriptEngine" entry for that type in HKEY_CLASSES_ROOT, and will fail to start the debugger. The lowest frame in the RMB window has a series of tabs at the bottom (Tasks, RMB Logging Viewer, RMB Indication Viewer, RMB Event Viewer, and Javascript Console). Choose "Javascript Console" tab to see any errors. For example, it might show the following: Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Input Error: There is no script engine for file extension ".JS".
If so, then check the current association of the ".JS" extension on that Windows system by running the following command:
ASSOC .JS
It should show something like ".js=JSFile" on a working system. If it shows something else, note what it is for safekeeping and then change it with:
ASSOC .JS=JSFile
Verify the change using "ASSOC .JS" again. Then retry the debugger to confirm it works this time, watching the Javascript console for any other errors. | | | | | | | | |
 |
| IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| Product categories: |
 |
| | Software |  |
| | Systems and Asset Management |  |
| | Application Performance & Availability |  |
| | IBM Tivoli Monitoring |  |
| | Tivoli Resource Model Builder |  |
 |
| Operating system(s): |
| |
Windows
|
 |
| Software version: |
| |
1.1.2
|
 |
| Reference #: |
| |
1172559
|
 |
| IBM Group: |
| | Software Group |
 |
| Modified date: |
| | 2008-09-22 |
 |
|