Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

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.Prohibited"

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.
0
davidclark73
Asked:
davidclark73
  • 2
1 Solution
 
James PeekCommented:
The information you need to fix this is here:

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
0
 
davidclark73Author Commented:
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.
0
 
davidclark73Author Commented:
good for me.
thanks
0
 
Computer101Commented:
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now