This content has been marked as final. Show 2 replies
Likely a security problem.
The Flash Player (Flex app) cannot acces an url that is in a different domain than the domain that served the application swf.
The soultion is a crossdomain.xml file in the web root of the site you are trying to get data from. In a default IIS installation, the crossdomain.xml file goes in the wwwroot folder. If you have trouble figuing out where to put it, put a copy everywhere, then delete them till it breaks. A sample crossdomain file is below. Note, it provides for complete access by everyone.
The other solution is to use a "proxy". This is just some server process that forwards data service calls from the client player to the data source url. That server process is not subject to the Flash Player security restrictions.
<!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<!-- Policy file for http:// -->
Thanks for that. I think there is some progress
However whenever I run an html file (even just a Hello World label) I get a blank page
swfs are appearing but for those requiring remoteobject I am getting this error
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed"]
at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.messaging.channels: ollingChannel/mx.messaging.channels ollingChannel::connectFailed()
Is this still a crossdomain.xml problem or something else?