您的位置:首页 >> Web开发 >> ASP技术 >> ASP技巧 >> 正文
ASP技巧 RSS
 

关于Script Engine 异常. 一个 ScriptEngine 超出了预期C0000005错误的解决

http://www.rdxx.com 06年06月19日 23:07 网络 我要投稿

关键词: 异常 , 解决 , 错误 , Engine , Script , IP

我还看到um这样的一个日志:
 事件类型: 错误
 事件来源: Active Server Pages
 事件种类: 无
 事件 ID: 5
   描述:
 Script Engine 异常. 一个 ScriptEngine 超出了预期’’C0000005’’ 在’’IActiveScript::SetScriptState()’’,来自’’CActiveScriptEngine::ResetToUninitialized()’’ 。.

 对于这个错误呢,我提出试探性的解决办法:
 1.
 确认这台机器上是否安装了Windows 2000 Post-Service Pack 2 (SP2) COM+ hotfix rollup package 18.1补丁包。
 如果没有,请下载资源http://download.microsoft.com/download/win2000platform/Patch/Q313582/NT5/CN/Q313582_W2K_SP3_X86_CN.exe  
 安装。
  
 tuur (http://www.tek-tips.com/gpviewthread.cfm/qid/241190/pid/41/lev2/3/lev3/22)  
 说这个好像可以用Windows 2000 Post-Service Pack 2 (SP2) COM+ hotfix rollup package 18.1解决。 
  
 2:
 假如SP2 COM+ hotfix rollup package 已经打过了,那么:
 确认安装的VB组件是否为最新的,我怀疑跟VB组件编译时没有选中’’Unattended Execution’’ and ’’Retain in Memory’’ 有关。这是一直强调的编译要点,不过我们的组件很早以前就纠正了这个毛病。
 为了慎重起见,还是请使用
 http://support.microsoft.com/default.aspx?id=kb;en-us;Q286036 
 中声称的VBCHKW2K.exe
 来检查我们的这些COM+注册的组件是否启用了这两个重要选项。
  
 更详细的内容参见:
 Ian Tebbutt (Visitor) Jun 13, 2002 
 Hi People,
     I hesitate to say we have a solution - but we had this problem consistently for weeks and now its hasn’’t appeared for 10 days. Microsoft have a tool called VBCHKW2K, looks for running DLL’’s and checks to see if ’’retain in memory’’ is set. With the introduction of COM+, DLL’’s can now be unloaded at inoportune moments - which may be the cause of the problem we’’re all seeing. Solution is to recompile your DLLs, with ’’Unattended Execution’’ and ’’Retain in Memory’’ both set. Problem if you’’re DLLs have msgboxs or forms - you’’ll have to change your app - ours used this for debug which was real pain to change.

 Try this link for the download :-

 http://support.microsoft.com/default.aspx?id=kb;en-us;Q286036  

共2页  1 2


 
 
标签: 异常 , 解决 , 错误 , Engine , Script , IP 打印本文
 
 
  热点搜索
 
 
 



Valid XHTML 1.0 Transitional
Copyright ©2005 - 2008 Rdxx.Com,All Rights Reserved
收藏本页
收藏本站