Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Access to restricted URI denied code 1012

    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 'serverorta' while the url I'm trying to invoke is 'serverortb'. In both urls the server name is the same, but the port numbers are different. Is there a solution to this issue?

  • #2
    New Coder
    Join Date
    Aug 2010
    Location
    FL
    Posts
    35
    Thanks
    0
    Thanked 1 Time in 1 Post
    are your url's being specified relative or absolute?

  • #3
    New Coder
    Join Date
    Sep 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The urls are absolute.

  • #4
    New Coder
    Join Date
    Aug 2010
    Location
    FL
    Posts
    35
    Thanks
    0
    Thanked 1 Time in 1 Post
    make sure that the urls referenced are relative to the site so you don't run into a same origin policy error


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •