View Full Version : Access to restricted URI denied code 1012
08-31-2010, 06:12 PM
I am using XMLHTTPRequest to invoke a url from my web page. I am running in Firefox 3.0 and am getting 'Access to restreicted URI denied' error. The domain of my page is 'server:porta' while the url I'm trying to invoke is 'server:portb'. In both urls the server name is the same, but the port numbers are different. Is there a solution to this issue?
08-31-2010, 07:33 PM
are your url's being specified relative or absolute?
08-31-2010, 07:44 PM
The urls are absolute.
08-31-2010, 07:46 PM
make sure that the urls referenced are relative to the site so you don't run into a same origin policy error
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.