Error "Input Error: There is no script engine for file extension ".JS"
2009-12-17 10:30
921 查看
| |||
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. |
相关文章推荐
- 【phonegap】移动WEB开发--常见问题 Error "There is no script engine for file extension" when running .js files
- Error "There is no script engine for file extension" when running .js files
- There is no script engine for file extension ".js"
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Android JS桥交互("Uncaught ReferenceError: xxx is not defined or xxx has no method")
- ./install-sh: no input file specified. checking for XML::Parser... configure: error: XML::Parser perl module is required for int
- There is no build provider registered for the extension '.cshtml'.
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结 今天在调试一个基础的Struts2框架小程
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- [Outlook 2007]The error message: "Either there is no default mail client or the current mail client cannot fulfill the messaging
- Error 47 "xxxxxxx"is an invalid value for the "InputManifest" parameter of the "GenerateApplicationM
- Struts2中"There is no Action mapped for namespace / and action name"
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Error message "there are no property pages for the selection"
- error:#5:cannotopensourceinputfile"stm32f10x_lib.h":Nosuchfileordirectory
- Struts2中关于"There is no Action mapped for namespace / and action name"的总结
- Struts2学习之package name="struts2"对应谁--There is no Action mapped for namespace / and action name 异常
- J2EE Struts2关于"There is no Action mapped for namespace / and action name UserAction"的调试