pojin (ID: 1)
头衔:论坛坛主
等级:究级天王[荣誉]
积分:2825
发帖:230 篇
来自:保密
注册:2023-12-09 09:36:49
造访:2026-05-02 12:05:56
发帖:230 篇
来自:保密
注册:2023-12-09 09:36:49
造访:2026-05-02 12:05:56
[ 第 1 楼 ]
475
回复
Windows 11 更新到 24H2 后,动不动就出现:
这样的错误,原因是:Windows 11 的 24H2 更新,默认使用 jscript9legacy.dll 替代了 jscript.dll。
解决方案是打开 gpedit.msc 本地策略组编辑器,选择 计算机配置 \ 管理模板 \ Windows 组件 \ Internet Explorer,找到并禁用 “借助加载 JScript9Legacy 代替 JScript 来取代 JScript”。
也可以修改注册表:
Active Server Pages error 'ASP 0240' Script Engine Exception
A ScriptEngine threw exception 'C0000005' in 'IActiveScript::SetScriptState()' from 'CActiveScriptEngine::ReuseEngine()'这样的错误,原因是:Windows 11 的 24H2 更新,默认使用 jscript9legacy.dll 替代了 jscript.dll。
解决方案是打开 gpedit.msc 本地策略组编辑器,选择 计算机配置 \ 管理模板 \ Windows 组件 \ Internet Explorer,找到并禁用 “借助加载 JScript9Legacy 代替 JScript 来取代 JScript”。
也可以修改注册表:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main]
"JScriptReplacement"=dword:00000000