IE9, Automation server can't create object error while using CertEnroll.dll

后端 未结 1 2032
小鲜肉
小鲜肉 2020-12-01 18:45

In my web page, a JS block like this:

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

// Other initial         


        
相关标签:
1条回答
  • 2020-12-01 19:41

    a) Go to Tools-->Internet Options

    b) Select security tab

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

    d) Click on Custom Level

    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.

    Click OK, OK.

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

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

    0 讨论(0)
提交回复
热议问题