如题!

解决方案 »

  1.   

    internet选项--》安全--》受信任站点--》站点--》将该网站添加到区域中的文本框填入:http://localhost.(注意把下面的选择框勾去掉-->添加--》就ok
      

  2.   

    客户端运行 ActiveX,只要会受安全性的限制,因此
    1. 确保 ActiveX 已经可以通过测试,比如通过 ActiveX Container TEst2. 确保 IE 允许加载与运行
       IE > Internet Options > Security > Inernet(Local Intranet) > Custom Level > 允许Activex 相关属性
       或者将其假如信任站点
       IE > Internet Options > Security > Trusted SItes > ...3. 检查 CAB 是否已成功下载本地
       IE > internate options > General > Browsing History > setting > View objects > 有没有你的 Activex cab ?4. 通过 js 动态创建对象,强制用户手动下载安装(比如cab包,bat 脚本中 regsvr32 ....)   try {
            var o = new ActiveXObject(servername.typename[, location]); // e.g. new ActiveXObject("Excel.Application");
       } catch(e) { // fails to create
            lcation.href = "someurl";
       }
         
      

  3.   

    Jinglecat:
    我是在本台机器上运行,还没有到客户端去试,您知道是什么原因吗?
      

  4.   

    Jinglecat:
    IE > internate options > General > Browsing History > setting > View objects > 没有我的 Activex cab,这应该怎么做?