Solved

NetConnection.Call.Prohibited (cross domain?)

Posted on 2004-08-09
6
492 Views
Last Modified: 2008-01-09
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
Comment
Question by:davidclark73
  • 2
6 Comments
 
LVL 2

Expert Comment

by:James Peek
ID: 11768366
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
 

Author Comment

by:davidclark73
ID: 12239728
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
 

Author Comment

by:davidclark73
ID: 12291403
good for me.
thanks
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12326945
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question