Solved

NetConnection.Call.Prohibited (cross domain?)

Posted on 2004-08-09
6
455 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Can't get text from a text entry 13 275
Stock Videos 17 319
Video sharing with user login 3 185
flash in chrome 4 67
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now