ITeye博客

Automation Server can't create Object

JavaFans · 2010-07-02 14:43 · Web前端 · Markdown


var wshShell = new ActiveXObject("Wscript.Shell");

会报错,说:Automation Server can't create Object。

这个是因为IE的安全级别设置问题,修改可以解决: 选择:Internet Explorer , Tools, Internet options, Security, custom level, 选中: enable "Initializing and Script Activex controls not marked as safe" 通过降低安全级别来正确运行。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。