Link to home
Start Free TrialLog in
Avatar of corywatilo
corywatilo

asked on

Javascript Permission Denied Error in IE

I am embedding this code:

http://www.livemediamarketing.com/local/stock/

onto a page and the script works fine in FF but I'm getting a Permission Denied error in IE. (Line 105, Char 3)

This is a stock ticker script that parses the csv stock feed from yahoo. The data is successfully being pulled in to this page:

http://www.livemediamarketing.com/local/stock/ajax-sqt.php

Any suggestions on this IE issue?

Thanks.
Avatar of tomaugerdotcom
tomaugerdotcom
Flag of Canada image

If you're testing this locally, you may get permission denied issues because of the scripting hasards. This is a setting you can override in IE settings. But you should try testing this on the webserver - sometimes these issues only show up when you're testing locally.

The other time I've encountered this was with some Symantec enterprise anti-virus. It actually over-wrote certain bits of JS code on-the-fly. Check to see whether you're running a Symantec anti-virus - if so, that could be the cause of your issues. Other users that do not have this installed will not be experiencing the problem.

Otherwise, check out your security settings. If you work for an Enterprise, perhaps your corporate security policy is set unusually high. Check with your IT admin on this issue.
Avatar of corywatilo
corywatilo

ASKER

Thanks for the tips. However, I am trying to pull from a web server, not locally. I have also tried from computers with anti-virus protection, and I also tried pulling down all security and privacy levels to no avail.

Any other ideas? I would hope it's something relating to the script that can be tweaked rather than something that would have to be modified on every single computer. Thanks!
Yeah, I hear you.

I also got access denied errors when trying to change window size on certain types of windows. So, maybe you could help by specifiying what it is that your script is doing specifically at the time the error is thrown.
Happens onload.
Okay, what are you doing onload?
I just realized that my original post is a bit confusing. I mentioned I am trying to embed that page and it's not working - it doesn't even work in IE standalone as it is.
ASKER CERTIFIED SOLUTION
Avatar of tomaugerdotcom
tomaugerdotcom
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Your last comment nailed it. Everything was absolute linked. I simply removed the absolute linking to make it relative and it worked. Who woulda thought? Thanks so much!