There is no script engine for file extension ".js"
2009-01-01 23:02
489 查看
Resolution
This happens if the .js file class data is missing or incorrect. Follow these steps to resolve the problem:
Instructions for Windows Vista
Open an Elevated Command Prompt window. To do so, click Start , click All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
* Type the following command and press ENTER:
regsvr32 %systemroot%\system32\jscript.dll
* Type EXIT to close the Command Prompt window
* Download vista_js_fix.reg from the Attachments section (scroll below), and save it to Desktop
* Right-click vista_js_fix.reg and choose Merge
* Click Yes when asked for confirmation.
Instructions for Windows XP
* Click Start, Run and type:
regsvr32 %systemroot%\system32\jscript.dll
* Press ENTER
* Download xp_js_fix.reg from the Attachments section below, and save it to Desktop
* Right-click xp_js_fix.reg and choose Merge
* Click Yes when asked for confirmation.
If the above does not solve the problem, then download and install Windows Script 5.7 from the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en
link from:http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html
xp_js_fix.reg内容
Windows Registry Editor Version 5.00
;.JS file type association fix - Windows XP
;Author : Ramesh Srinivasan
;Created : Aug 30, 2007
;Homepage: http://www.winhelponline.com
[HKEY_CLASSES_ROOT\.JS]
@="JSFile"
"CachedFilterIID"="{c1243ca0-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.JS\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\JSFile]
@="JScript Script File"
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,34,00,38,00,30,00,34,00,00,00
[HKEY_CLASSES_ROOT\JSFile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,2c,00,33,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ScriptEngine]
@="JScript"
[HKEY_CLASSES_ROOT\JSFile\ScriptHostEncode]
@="{85131630-480C-11D2-B1F9-00C04F86C324}"
[HKEY_CLASSES_ROOT\JSFile\Shell]
[HKEY_CLASSES_ROOT\JSFile\Shell\Edit]
@="&Edit"
[HKEY_CLASSES_ROOT\JSFile\Shell\Edit\Command]
@="notepad.exe \"%1\""
[HKEY_CLASSES_ROOT\JSFile\Shell\Open]
@="&Open"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2]
@="Open &with Command Prompt"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\JSFile\Shell\Print\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\
74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ShellEx]
[HKEY_CLASSES_ROOT\JSFile\ShellEx\DropHandler]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JSFile\ShellEx\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\JSFile\ShellEx\PropertySheetHandlers\WSHProps]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JScript]
@="JScript Language"
[HKEY_CLASSES_ROOT\JScript\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"
[HKEY_CLASSES_ROOT\JScript\OLEScript]
This happens if the .js file class data is missing or incorrect. Follow these steps to resolve the problem:
Instructions for Windows Vista
Open an Elevated Command Prompt window. To do so, click Start , click All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
* Type the following command and press ENTER:
regsvr32 %systemroot%\system32\jscript.dll
* Type EXIT to close the Command Prompt window
* Download vista_js_fix.reg from the Attachments section (scroll below), and save it to Desktop
* Right-click vista_js_fix.reg and choose Merge
* Click Yes when asked for confirmation.
Instructions for Windows XP
* Click Start, Run and type:
regsvr32 %systemroot%\system32\jscript.dll
* Press ENTER
* Download xp_js_fix.reg from the Attachments section below, and save it to Desktop
* Right-click xp_js_fix.reg and choose Merge
* Click Yes when asked for confirmation.
If the above does not solve the problem, then download and install Windows Script 5.7 from the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en
link from:http://www.winhelponline.com/articles/230/1/Error-There-is-no-script-engine-for-file-extension-when-running-js-files.html
xp_js_fix.reg内容
Windows Registry Editor Version 5.00
;.JS file type association fix - Windows XP
;Author : Ramesh Srinivasan
;Created : Aug 30, 2007
;Homepage: http://www.winhelponline.com
[HKEY_CLASSES_ROOT\.JS]
@="JSFile"
"CachedFilterIID"="{c1243ca0-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\.JS\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\JSFile]
@="JScript Script File"
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,34,00,38,00,30,00,34,00,00,00
[HKEY_CLASSES_ROOT\JSFile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,2c,00,33,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ScriptEngine]
@="JScript"
[HKEY_CLASSES_ROOT\JSFile\ScriptHostEncode]
@="{85131630-480C-11D2-B1F9-00C04F86C324}"
[HKEY_CLASSES_ROOT\JSFile\Shell]
[HKEY_CLASSES_ROOT\JSFile\Shell\Edit]
@="&Edit"
[HKEY_CLASSES_ROOT\JSFile\Shell\Edit\Command]
@="notepad.exe \"%1\""
[HKEY_CLASSES_ROOT\JSFile\Shell\Open]
@="&Open"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2]
@="Open &with Command Prompt"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\JSFile\Shell\Print\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\
74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ShellEx]
[HKEY_CLASSES_ROOT\JSFile\ShellEx\DropHandler]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JSFile\ShellEx\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\JSFile\ShellEx\PropertySheetHandlers\WSHProps]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JScript]
@="JScript Language"
[HKEY_CLASSES_ROOT\JScript\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"
[HKEY_CLASSES_ROOT\JScript\OLEScript]
相关文章推荐
- 【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
- Error "Input Error: There is no script engine for file extension ".JS"
- There is no build provider registered for the extension '.cshtml'.
- Struts2中关于"There is no Action mapped for namespace / and action name"的问题
- structs,报错:There is no Action mapped for action name xxx(jsp页面在webcontent下某个文件夹下的请求)
- HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with con
- There is no getter for property named 'account' in 'class java.lang.String'
- There is no setter for property named 'storeId' in 'class com.auth.entity.Auth'
- debian There is no publickey available forthe following key IDs:
- There is no getter for property named 'column' in 'class java.lang.String'] with root cause
- There is no Action mapped for namespace [/] and action name [] associated with context path [/struts
- There is no getter for property named '*' in 'class java.lang.String
- mybaits错误解决:There is no getter for property named 'id' in class 'java.lang.String'
- 配置Struts2动态Action报错404:There is no Action mapped for namespace [/]
- MyBatisSystemException ReflectionException: There is no getter for property named 'userid' in 'class
- There is no getter for property named 'depart' in 'class com.xuezhixin.mls.web.model.Major'
- There is no getter for property named 'user' in 'class com.gao.model.Message
- There is no source code available for current location
- there is no source code available for the current location的解决方法