1 Reply Latest reply on Dec 28, 2009 3:00 PM by kglad

    Security error accessing url Problem. Please help me.


      I am new in flex 3. My flex application retrieve external data via webservice like wsdl="http://service.meshilogic.com/service.asmx?wsdl"
      it works fine locally at the original compile folder, but when i released the project to other folder, it does't work and give me this error:


      [FaultEvent fault=[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] messageId="D6618071-86A2-60C6-4743-D3C81338D29C" type="fault" bubbles=false cancelable=true eventPhase=2]


      I have crossdomain.xml file configured in root of www.meshilogic.com.


      <?xml version="1.0"?>
      <!-- http://www.foo.com/crossdomain.xml -->
          <allow-access-from domain="www.meshilogic.com"/>
          <allow-access-from domain="*.meshilogic.com"/>




      and wrote code like this in initailize event of main application Security.loadPolicyFile("http://www.meshilogic.com/crossdomain.xml");