davidclark73
asked on
NetConnection.Call.Prohibited (cross domain?)
Hi i have a flash remoting project that i am trying to split over two servers - the swf files etc on one server the ASP.NET stuff on the other.
I have the .NET part running (hitting default.aspx gives me a blank page) but when the swf does a createGatewayConnection that call returns a code of "NetConnection.Call.Prohib ited"
Starting the swf directly works okay, but loading it via the wev server is no good.
I am not really sure how to even start troubleshooting this.
thanks.
I have the .NET part running (hitting default.aspx gives me a blank page) but when the swf does a createGatewayConnection that call returns a code of "NetConnection.Call.Prohib
Starting the swf directly works okay, but loading it via the wev server is no good.
I am not really sure how to even start troubleshooting this.
thanks.
ASKER
unfortunately whodini2k's response does not solve the problem - i had already put a crossdoman.xml file on the server.
in the end i have not solved this problem and have served the html with the flash in it from the same machine that has the ASP.NET remoting backend.
in the end i have not solved this problem and have served the html with the flash in it from the same machine that has the ASP.NET remoting backend.
ASKER
good for me.
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001097.html
Basically involves creating a policy file that lives on the server that provides the data saying its ok for the other machine to load data from it -- prevents other flash apps "stealing" swf or data files from other servers. Doesn't apply when running in the development IDE though.
This article, while specifically for FLEX is also quite good:
http://www.macromedia.com/support/documentation/en/flex/1/deployingchecklist/deployingchecklist7.html
hth,
James