Solved

NetConnection.Call.Prohibited (cross domain?)

Posted on 2004-08-09
6
496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash player updates using SCCM 2012 and SCUP 2011 3 495
File drag and drop 6 158
how do I install adobe flash player on my ipad Air? 4 64
PDF: Display my cards game? 8 157
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

734 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