...

View Full Version : Access to restricted URI denied code 1012



wheeliea
08-31-2010, 05: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?

codebyter
08-31-2010, 06:33 PM
are your url's being specified relative or absolute?

wheeliea
08-31-2010, 06:44 PM
The urls are absolute.

codebyter
08-31-2010, 06:46 PM
make sure that the urls referenced are relative to the site so you don't run into a same origin policy error



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum