Hi ...This is Sudarshan I am getting problem in client server communication please see if you can help me
Here are the details
suppose i am having one datagrid and i want to fill the datagrid from server... i am using XAMPP and php.....with flex.....it is working fine with localhost but when i try to retrive the same through other pc ..through LAN ..the flash player opens but it is not retriving data and giving message like....
i have also pasted cross domain file in XAMPP server root (htdocs) ,still the same error coming on client machine .
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216]
at mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
at DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368]
Here i am attaching SRC file and PHP file for reference
please help me ...reply as soon as possible
Thanks in advance
You may need to compile with -use-network=false
From menu bar Project-Properties Flex Compiler area, add -use-network=false to additional compiler args area.
If this post answers your question or helps, please mark it as such.