Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-05-2009
Member
 
Join Date: Mar 2009
Posts: 1,221
Permission denied to call method Location.toString

I am getting a strange error whenever I open my office website on Firefox. The error message that comes up:

Quote:
Error: uncaught exception: Permission denied to call method Location.toString
Does any one know what this error means? Where the problem comes from? According to the message, I don't have rights to access something but I don't know what that something is. Can I ignore this message?
Reply With Quote
  #2  
Old 15-05-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: Permission denied to call method Location.toString

This is a cross-site scripting security restriction. Basically the domains of the frames are from different domains, so the script(s) on one frame cannot read the url of the other. To read the url from each other, it need the websites userids and/or password. Thus the browser rejects it.
Reply With Quote
  #3  
Old 15-05-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Permission denied to call method Location.toString

It happens when iframe's Flash files tries to get information from a place where they do not have permissions. It could happen with Firefox 2 and Firefox 3. In some other cases this message can be related to event handlers running in
closed windows.
Reply With Quote
  #4  
Old 15-05-2009
XSI XSI is offline
Member
 
Join Date: May 2008
Posts: 271
Re: Permission denied to call method Location.toString

Steps to resolve this issue:

1. Create an iframe on a page that has a different location (domain) than the parent page.
2. Load *any* flash file (regardless of publish-version target, EI, javascript, etc) into the iframe
3. Note the cryptic error in the Firefox Error Console. Ignore the cryptic error in the Error Console.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Permission denied to call method Location.toString"
Thread Thread Starter Forum Replies Last Post
Urgent Help with return method toString() Java!! vizu Software Development 3 01-05-2011 11:48 PM
No permission to save in this location. Indratej Operating Systems 5 02-04-2011 10:53 PM
How to override ToString() method in C#? Linoo Software Development 5 23-02-2010 07:54 PM
What is toString() method in java? Juany Software Development 4 10-02-2010 05:12 PM
Is it possible to call destroy() method within init() Method? Level8 Software Development 3 10-12-2009 08:36 AM


All times are GMT +5.5. The time now is 11:51 AM.