1 Reply Latest reply on Sep 18, 2007 9:46 AM by kcell

    HTTPService Error

      Hi, I am using an <mx:HTTPService /> tag and am getting the following error:

      [FaultEvent fault=[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] messageId="......" type="fault" bubbles=false cancelable=true eventPhase=2]

      if I try to access a local file I get no problem, however if I try to access an external file I get the error.

      can anyone tell me what to do to get rid of this problem???

        • 1. HTTPService Error
          kcell Level 2
          This is the security error, when you are accessing a file from another webserver and the webserver has no crossdomain.xml in his root.

          The flashplayer runs in a sandbox which didn´t allow direct access on other webserver locations (it is different if your are running your debugger).

          2 solutions:
          - put a crossdomain.xml on the other webserver
          - get the data from your webserver via a server script (for example: with a php script)

          best regards