Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / June 2005



Tip: Looking for answers? Try searching our database.

Remoting works Locally but not over the Internet - Why????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Shields - 07 Apr 2005 11:41 GMT
Can someone please tell me why my remoting works when I run it on my
local web server but not when I run it on my Internet-based server.  The
machine upon which the application is running is located on my premises.
 The only difference is that I call the application from my Intranet
versus the Internet.  Thanks for any help you might provide !!!
jpryz - 07 Apr 2005 22:47 GMT
Two things come to mind:
1. You're using 'localhost' in your connection string.
2. You're running a developer server which doesn't allow you connect from other machines other than your own.
tutsamewasa - 08 Apr 2005 12:24 GMT
Hi,

jpryz  is right this problem occurs when we run the remoting with developer
edition ( Single IP).
There are two solutions to this where you can manage with the developer
edition.
1. Recompile the Fla with the gatway path set to the IP or ne URL that you
access through the Internet. (Not a good solutions though)
2. Read the IP or URL from external file at run time in this case you just nee
to change the URL in the text file and your remoting will work for any URL or
IP.

Hope this hepls ( Tell us if you need code for the second option.)

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com
napx - 15 Apr 2005 02:20 GMT
I'm having the exact same issue. However, the url is set to a world-accessable
DNS name and it still doesn't seem to work. Since my AMFPHP instance is running
on the same server that I was trying to upload the flash to, I've also tried
setting the URL to localhost, and that fails as well. Funny thing is, it still
works locally from here (connecting to the foreign server). Although when it
lives on the same foreign server that the database/AMFPHP is located on,
*nothing works*. Please help someone this is a major big-big problems :-/.
Porsche_2004 - 19 Apr 2005 05:57 GMT
I have the same problem... I think it's a bad bug from MMFlash... I'd be thankul if anyone let me know the solution (of course if it was a problem, not a bug)
napx - 19 Apr 2005 23:06 GMT
Porsche: look into crossdomain.xml --> will most likely solve your problems.
chris.davis - 20 Apr 2005 18:22 GMT
By default, flash is limited to retreiving data from the web site its hosted
from.  If you try accessing information from another web site, flash is
supposed to look for a crossdomain.xml file on the root of the remote web site
to see if it has permission.  I use crossdomain.xml files on several of my
intranet sites I administer.  I have a flash application which calls an ASP
page that returns XML with drive information and space available for our
administrators.  Because I have two flavors (web version and an executable) I
need to allow a broad number of users.  Since this is limited to our intranet,
I allow flash applications hosted anywhere to access data.  For each server
that has the hosted ASP page that returns XML, I have the following
crossdomain.xml text file copied to my wwwroot folder:  <?xml version='1.0'?>
<!DOCTYPE cross-domain-policy SYSTEM
'http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd'>
<cross-domain-policy>   <allow-access-from domain='*' /> </cross-domain-policy>
To read more about crossdomain.xml and see how you can restrict sites using it
go here: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213 
Hope this helps!
ottokan - 08 May 2005 20:38 GMT
i have the same problem. i'm using .NET 1.1 and IIS 5.0 to my local server
and to my web server but when the flash movie trying to call a method
inside a service (asp.net dll file) it cannot find it.

if you find any solution please inform me at ottokan@hotmail.com,

thanks
otto - 09 May 2005 02:41 GMT
i have exactly the same problem between local and web server.

I'm trying everything but the problem exists.

i'm using framework 1.1, IIS 5.0, VS 2003, Latest version of macromedia products.

when you using the developer edition if you try to access the flashgateway.dll from another computer you get an error string inside the log text file which inform you about that.
i replace the connection string inside action script from localhost to web server URL.
i'm giving full access thru web.config file.
and finally i'm running the net connection debbuger.
Everything works fine just like local server until the moment which the flash movie try to open the asp.net dll file inside bin directory.

i'm afraid that maybe is a security issue from windows 2000 because the operating system is the only difference between the 2 servers. (xp PRO SP2 - 2000 SP4)
chris.davis - 13 May 2005 07:42 GMT
OttoNoSpam,

I've not done a lot of .NET development, but don't you want to have your flash
application connect with your .aspx page, or if you're trying to connect to a
service on the remote machine, shouldn't it be through a WSDL connection?  If
you're able to get it to work from your local system and not the remote one,
perhaps there's limited access to DLLs?  Also, remember the server itself also
needs the crossdomain.xml file in place to allow your flash application to
access the server.

Personally, I've only connected to .ASP pages (old IIS 4/5 style Active Server
Pages) and return XML instead of HTML.

Good luck,

-Chris
tapsmedia - 19 May 2005 19:10 GMT
I have no problems running the remoting since I use my full domain (see below).

http:://www.armartitleservice.com/demo.html

I am using AS2 w/ remoting and get mixed results on many PCs. On some all
works well and on others, content does not load. The site just hangs or shows
no content. I ahve checked the site on DSL, T1, dialup, Mac, PC uninstalled
flash players, installed latest, upgraded you name it .

Is this a bug or a script problem

PLease reply with what you see online
IF possible send a screenshot to tomasp@ellip-c.com
Icemanusc - 26 May 2005 22:00 GMT
Another problem could be that your server is multihomed which can cause a
problem with flash remoting.  Check out this article... this was my problem.


http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_connec
tion.htm#enable

Richard
tutsamewasa - 08 Jun 2005 08:56 GMT
Hello Robert Shields,

I have just mailed you the solutions as a sample application, to your mail ID
that you had provided to our executive.

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com 
tutsamewasa - 08 Jun 2005 09:08 GMT
Hi Porsche_2004 ,

Well Its not a bug from MM.
One has to get licence for the Flash Remoting and for our ease the Developer
licence is given at free of cost and that works with one IP one.
The same information is given when we install the developer version of Flash
Remoting.

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com
ashlyAtWork - 15 Jun 2005 16:53 GMT
I have looked at this page over and over since I am having the same problem
where I can run my flash remoting .swf just fine through macromedia's preview
and as a standalone on my computer, but as soon as I pull it up on a browser
using the URL, it doesn't pull the data at all.  I am not using localhost in
the connection screen.  What can I do to figure out the problem?

Thanks in advance,
Ashly
ashlyAtWork - 15 Jun 2005 19:35 GMT
oops... nevermind, it ended up being a small typo.

Thanks,
Ashly
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.