IE9,自动化服务器在使用 CertEnroll.dll 时无法创建对象错误 [英] IE9, Automation server can't create object error while using CertEnroll.dll

查看:11
本文介绍了IE9,自动化服务器在使用 CertEnroll.dll 时无法创建对象错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网页中,一个 JS 块是这样的:

In my web page, a JS block like this:

var classFactory = new ActiveXObject("X509Enrollment.CX509EnrollmentWebClassFactory");

// Other initialize CertEnroll Objects

它在 windows7(32bit or 64bit)IE8(32bit) 中工作正常,只要我更改 IE8 安全设置,启用初始化和脚本 ActiveX 控件不标记为安全.

It works fine in windows7(32bit or 64bit) with IE8(32bit), as long as I change the IE8 secure setting, enable Initializing and Script ActiveX controls not marked as safe.

但是当使用 IE9(32 位)时,我尝试了任何我可以在网上找到的东西,它报告错误自动化服务器无法创建对象."

But when use IE9(32bit), I try anything I can find on web, it reports error "Automation server can't create object."

我什至创建了一个静态 html 文件,将其保存在我的硬盘中,然后用 IE9(32 位)打开它,它工作正常.然后我把html文件放在我的网站上,用url访问html文件,然后又出现了错误信息.

I even created a static html file, save it in my hard disk, and then open it with IE9(32bit), it worked fine. Then I put the html file on my web site, visit the html file with url, then it came up with the error message again.

我已经在这个问题上工作了 4 天,任何建议将不胜感激.

I have worked on this problem for 4 days, any suggestion would be appreciated.

3Q.我的母语不是英语,希望你能读懂我的话.

3Q. I hope you can read my words as I'm not an native English speaker.

推荐答案

a) 转到工具-->Internet 选项

a) Go to Tools-->Internet Options

b) 选择安全标签

c) 点击受信任的站点(或本地 Intranet,具体取决于您的站点是否受信任)

c) Click on Trusted Sites (or Local Intranet depending on whether your site is trusted or not)

d) 点击自定义级别

e) 确保启用初始化和脚本活动 x 控件未标记为可安全编写脚本" - 这位于滚动条 1/4 处的 Activex 控件和插件部分.

e) Ensure that "Initialize and script active x controls is not marked safe for scripting" is enabled - this comes under Activex controls and plug-ins section towards 1/4th of the scroll bar.

点击确定,确定.

完成后,清除浏览器 cookie 和缓存.关闭所有浏览器会话.重新打开 IE 以启动您的站点.

Once this is completed, clear the browser cookies and cache. Close all your browser sessions. Reopen the IE to launch your site.

尝试禁用步骤 (e) 中的设置以查看问题是否再次出现 - 这应该可以更深入地了解问题.

Try to disable the setting in step (e) to see if the problem comes back - that should give more insight to the problem.

这篇关于IE9,自动化服务器在使用 CertEnroll.dll 时无法创建对象错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆