all groups > macromedia flash flash remoting > october 2005 >
You're in the

macromedia flash flash remoting

group:

Works Locally, Doesnt Work On Production Server



Works Locally, Doesnt Work On Production Server Emmersive media
10/29/2005 6:58:39 AM
macromedia flash flash remoting: HI All.

I have created a FLA that connects to a aspx page and gets some data out of
the database, builds a drop down menu with the data.

It works great on my local machine, but doesnt work on the server, I have
copied the DLL's from my local bin dir to the remote bin dir but it still
doesnt work.

On the local machine it is stored in http://localhost/aps/gateway.aspx and
http://localhost/aps/flashNav.aspx for the service file. So My Local
Actionscript is as follows
var aspxService:Service = new Service("http://localhost/aps/gateway.aspx",
null, "aps", null, null);
var pcProd:PendingCall = aspxService.flashNav("prod", "prod");
pcProd.responder = new RelayResponder(this, "prodResult", "prodFault");



And on the production server it is stored as
http://www.apsservicecentre.com.au/gateway.aspx and
http://www.apsservicecentre.com.au/flashNav.aspx So i figure the code should be
as follows
var aspxService:Service = new
Service("http://www.apsservicecentre.com.au/gateway.aspx", null, "", null,
null);
var pcProd:PendingCall = aspxService.flashNav("prod", "prod");
pcProd.responder = new RelayResponder(this, "prodResult", "prodFault");


And it doenst seem to work properly, is it possible to debug it on the server
some how?

Thanks in advance.

Glen
Re: Works Locally, Doesnt Work On Production Server flashdefined
11/1/2005 8:27:59 PM
The most common local/remote problem is not having the crossdomain.xml in place or set up correctly. Check out http://moock.org/asdg/technotes/crossDomainPolicyFiles/ for details.
AddThis Social Bookmark Button