IE投掷拒绝访问错误 [英] IE Throwing Access denied error

查看:209
本文介绍了IE投掷拒绝访问错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个项目(连接和相互通信)2 Tomcat实例运行。在我的地方,我有2雄猫运行。一切都很好的,除了IE浏览器这不能不加载JavaScript文件的访问被拒绝各种不同的浏览器。 所以我已经包含了一个名为库 https://github.com/tlianza/ajaxHooks/blob/master/src/ajax/xdr.js 我的本地。

I have 2 projects (that connect and communicate with each other) running on 2 tomcat instances. In my local i have 2 tomcats running. All is well on all the different browsers except for IE which say Access denied from loading of the Javascript files. So i have included a library called https://github.com/tlianza/ajaxHooks/blob/master/src/ajax/xdr.js that fixed my issue in my local.

但是,当我部署了code到开发环境又2个不同的Tomcat实例(在开发服务器)我看到了同样的错误,访问被拒绝。

But when i deployed the code on to DEV environment again 2 different tomcat instance( on Dev servers) i see the same error Access denied.

   Message: Access is denied
    URI: https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js

   Message: Expected identifier, string or number
    URI: https://one.server.org/folder/js/global.js

还有我所有的文件(如JS / CSS)到项目1相关的包含在同一个Tomcat实例,而不是只依赖于项目2

Also all my files(like js/css) related to Project 1 are contained in the same tomcat instance only and not dependent on Project 2

我尝试了不同的浏览器设置在IE选项,但还是同样的问题

I tried different browser setting option in IE but still same issue

我想这两个URL从HTTPS推出://我还是看到同样的错误在IE

I tried both URL to be launched from HTTPS:// still i see same error in IE.

所以,只是不知道什么可以让IE浏览器中执行同样的方式在其他浏览器

So just wondering what would make IE Execute the same way as in other browsers

推荐答案

显然有什么工作对我来说是改变jQuery库到1.10.0。 jQuery的1.10.1有缺陷,使得IE抛拒绝访问error.this职位是有益的 <一href="http://stackoverflow.com/questions/17370482/$p$pventing-script5-access-is-denied-error-in-ie?rq=1">$p$pventing &QUOT; SCRIPT5:访问被拒绝&QUOT;误差在IE

Apparently what worked for me is changing the Jquery library to 1.10.0. Jquery 1.10.1 had bug that made IE throw access denied error.this post was useful "Preventing "SCRIPT5: Access is denied" error in IE"

在IE8 / IE9 / IE10测试

tested in IE8/IE9/IE10

这篇关于IE投掷拒绝访问错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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