1 Reply Latest reply on May 16, 2010 4:57 AM by igor1986

    HTTPService error on Mac OS

    igor1986

      Hi!

      I encountered the following problem with HTTPService in AIR app. Here is a code:

       

             RequestAccountsHTTP.url = File.applicationStorageDirectory.resolvePath("db/accounts.xml").nativePath;
             RequestAccountsHTTP.send();


      Under Windows XP everything works fine, but under Mac OS Snow Leopard following  error occur.

       

           [RPC Fault faultString="HTTP request error"

           faultCode="Server.Error.Request"

           faultDetail="Error: [IOErrorEvent type="ioError"

           bubbles=false cancelable=false eventPhase=2

           text="Error #2032: Stream Error. URL: app:/Users/svp/Library/Preferences/com.myapp/Local%20Store/db/accounts.xml" errorID=2032]. URL:   /Users/svp/Library/Preferences/com.myapp/Local Store/db/accounts.xml"]

       

      I have Flex Builder 3, AIR 1.5.3,  sdk 3.5 on both OS.

       

      I would be glad of any help. Thanks.