同时采用的CertEnroll.dll IE9,自动化服务器不能创建对象错误 [英] IE9, Automation server can't create object error while using CertEnroll.dll
问题描述
在我的网页, JS
阻止这样的:
In my web page, a JS
block like this:
var classFactory = new ActiveXObject("X509Enrollment.CX509EnrollmentWebClassFactory");
// Other initialize CertEnroll Objects
它工作正常,在的Windows7(32位或64位)
与 IE8(32位)
,只要我改变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天,任何的建议是AP preciated。
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)确保初始化和脚本的ActiveX控件未标记为可安全执行脚本已启用 - 这是以下ActiveX控件和插件部分对滚动条的1/4
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.
点击OK,OK。
一旦完成,清除浏览器的cookies和缓存。关闭所有浏览器会话。重新打开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.
这篇关于同时采用的CertEnroll.dll IE9,自动化服务器不能创建对象错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!