0 Replies Latest reply on Dec 14, 2010 6:36 PM by xkxtnt

    Channel.Security.Error error Error #2048

    xkxtnt

      I am still fairly new to Flex and this problem has been bugging me all the time.

       

       

      I am using Flash Builder 4 and a locally installed ColdFusion 7.02 for writing and debugging a simple application. The applications use RemoteObject to get data from backend CFC component and bind to a master-detail form. Everything was working fine on the localhost, I can access the application from the development workstation using either http://development_workstation/FoodOrder/FoodOrder_Flex.html or http://localhost/FoodOrder/FoodOrder_Flex.html. The CFC components are in a subfolder "services" in the FoodOrder folder in c:\CFusionMX7\wwwroot\FoodOrder\.

       

       

      However, when I tried to accce the applicaton from another computer using http://development_workstation/FoodOrder/FoodOrder_Flex.html, I got the following error:

       


      Send failed
      Channel.Security.Error error Error #2048: Security sandbox violation: http://development_workstation/FoodOrder/FoodOrder_Flex.swf cannot load data from http://localhost:37813/flex2gateway/?hostport=development_workstation&https=N&id=-1. url: 'http://development_workstation/flex2gateway/'

       

       

      Google for the error message turned out solution that usually suggesting creating a cross-domain.xml, but I don't think that would apply in my situation because I am not accessing anything outside of the FoodOrder folder..

       

       

       

       

      Thanks in advance for any help.

       

      xkxTnT