I am getting this javascript pop-up window error. It reads "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?". I don't see any difference if I click either yes or no. But if I click yes,
it keeps popping up every once in a while. The error message from the warning icon on the bottom left corner is, "Error: permission deined."
Any idea what might be causing this? After I refresh the page, it takes like good 5 minutes for this error pop-up to appear. I saved the aspx page to my desktop as an html file, I get the same error.
This is an aspx page. I was wrong when I said I get the error from the local saved html copy as well. I don't get any error if I save the aspx to my pc as an html file and open up this html file. There are couple of .js and css references that point to another
domain. That might be it?
"Do not tell us what you are trying to do and do not post the code that is causing the error."
I am debugging someone else's code. I open up the aspx page, I get this javascript pop-up error. It doesn't say what's causing the error or where the error is. It just says what I posted in the OP. I can post the code ~1500 lines if you want.
Most likely the problem is caused by the page using some of the scripts that try to access the data across domains, to "fix" it, i.e. make the annoying message disappear -
Start IE
On the Tools menu, click
Internet Options.
On the Security tab, click
Internet, and then click Custom Level.
In the Security Settings list, change
Access data sources across domains (under Miscellaneous) to
Enable.
Click OK to close the
Security Settings dialog box.
Click Yes when you receive the following message:
Are you sure you want to change the security settings for this zone?
If your pages does not use cross-domain communication then the problem could be caused by using absolute path, e.g.
http://localhost...
If that is the case - change it to relative and that should fix it.
Maxxxy
Everybody pities the weak; jealousy you have to earn
Arnie
mxitiup
Member
5 Points
38 Posts
Javascript error - This page is accessing information that is not...
Aug 02, 2007 04:03 PM|LINK
Hi,
I am getting this javascript pop-up window error. It reads "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?". I don't see any difference if I click either yes or no. But if I click yes, it keeps popping up every once in a while. The error message from the warning icon on the bottom left corner is, "Error: permission deined."
Any idea what might be causing this? After I refresh the page, it takes like good 5 minutes for this error pop-up to appear. I saved the aspx page to my desktop as an html file, I get the same error.
Thanks.
JoshStodola
Star
13736 Points
3177 Posts
Re: Javascript error - This page is accessing information that is not...
Aug 02, 2007 04:11 PM|LINK
A sure way to get ignored: Do not tell us what you are trying to do and do not post the code that is causing the error.
serbach
Member
296 Points
97 Posts
Re: Javascript error - This page is accessing information that is not...
Aug 02, 2007 04:52 PM|LINK
mxitiup,
Is this an ASPX page that you've designed? If not, then I can't see how we can help you diagnose it.
Steve Erbach
Neenah, WI
http://www.TheTownCrank.com
mxitiup
Member
5 Points
38 Posts
Re: Javascript error - This page is accessing information that is not...
Aug 02, 2007 05:11 PM|LINK
This is an aspx page. I was wrong when I said I get the error from the local saved html copy as well. I don't get any error if I save the aspx to my pc as an html file and open up this html file. There are couple of .js and css references that point to another domain. That might be it?
mxitiup
Member
5 Points
38 Posts
Re: Javascript error - This page is accessing information that is not...
Aug 02, 2007 05:17 PM|LINK
"Do not tell us what you are trying to do and do not post the code that is causing the error."
I am debugging someone else's code. I open up the aspx page, I get this javascript pop-up error. It doesn't say what's causing the error or where the error is. It just says what I posted in the OP. I can post the code ~1500 lines if you want.
serbach
Member
296 Points
97 Posts
Re: Javascript error - This page is accessing information that is not...
Aug 02, 2007 05:44 PM|LINK
mxitiup,
One thing I can suggest is to run the page in Firefox and use Firebug to "Break on all errors" in the JavaScript. That may get you somewhere.
Steve Erbach
Neenah, WI
http://www.TheTownCrank.com
Eyon
Member
2 Points
1 Post
Re: Javascript error - This page is accessing information that is not...
Aug 26, 2007 06:58 AM|LINK
I just starting getting the same error immediately after I started using the ie website phishing filter. Try turning it off and see.
Maxxxy
Member
364 Points
67 Posts
Re: Javascript error - This page is accessing information that is not...
Mar 25, 2009 05:03 AM|LINK
Most likely the problem is caused by the page using some of the scripts that try to access the data across domains, to "fix" it, i.e. make the annoying message disappear -
Arnie
Everyone has a plan until they get hit
M. Tyson