permission denied!

Discussion in 'ASP .Net' started by wild_bunch, May 17, 2007.

  1. wild_bunch

    wild_bunch Guest

    hi all

    i am trying to use xmlHttp.open
    while opening page A from a div in page B
    i am using .net 2005 and my sites are on the different domains at
    server
    using the above function causes "permission denied" error
    but when page A is on local host it works fine....
    i call the function only with 3 parameters:
    xmlHttp.open("GET", url ,true)
    without username & password (i tried that too ofcourse)
    can anyone tell me what's the problem?

    thanx
    wb



    --
    wild_bunch
    ------------------------------------------------------------------------
    Posted via http://www.codecomments.com
    ------------------------------------------------------------------------
     
    wild_bunch, May 17, 2007
    #1
    1. Advertising

  2. wild_bunch

    bruce barker Guest

    XmlHttpRequest can only open sites in the same domain as the source of
    the calling page.

    if you need to call another domain, you will need to put a proxy page on
    the calling domain.

    -- bruce (sqlwork.com)

    wild_bunch wrote:
    > hi all
    >
    > i am trying to use xmlHttp.open
    > while opening page A from a div in page B
    > i am using .net 2005 and my sites are on the different domains at
    > server
    > using the above function causes "permission denied" error
    > but when page A is on local host it works fine....
    > i call the function only with 3 parameters:
    > xmlHttp.open("GET", url ,true)
    > without username & password (i tried that too ofcourse)
    > can anyone tell me what's the problem?
    >
    > thanx
    > wb
    >
    >
    >
    > --
    > wild_bunch
    > ------------------------------------------------------------------------
    > Posted via http://www.codecomments.com
    > ------------------------------------------------------------------------
    >
     
    bruce barker, May 17, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Goblin
    Replies:
    1
    Views:
    8,495
  2. Chris
    Replies:
    1
    Views:
    855
    Roy Johnson
    Oct 28, 2003
  3. Kevin Spencer
    Replies:
    3
    Views:
    3,023
    Kevin Spencer
    Aug 15, 2003
  4. Dave M.
    Replies:
    0
    Views:
    484
    Dave M.
    Nov 18, 2003
  5. =?Utf-8?B?ZmVzdGl2YWxtYW4=?=

    permission denied on an asp that's sending mail

    =?Utf-8?B?ZmVzdGl2YWxtYW4=?=, Jan 26, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,005
    Chris Jackson
    Jan 26, 2004
Loading...

Share This Page