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 / July 2005



Tip: Looking for answers? Try searching our database.

Unable to connect errors in flash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bennny16 - 20 Jul 2005 20:17 GMT
I'm trying to get my first Flash Remoting program to run using the intro
example from Jason Perry
I am using Windows 2000
have IIS installed and I'm trying to get it running on the localhost
I have the .net SDK installed and flash remoting but keep getting the error

Error opening URL http://localhost/flashremoting/gateway.aspx
   
here is the code snippet from the example that I modified

if( inited == null )
{
    inited = true;
    NetServices.setDefaultGatewayUrl(
"http://localhost/flashremoting/gateway.aspx" );
    gatewayConnection = NetServices.createGatewayConnection();
   
    ASPXService = gatewayConnection.getService( "flashremoting", this );
}

when I use it directly to connect to his site it works fine..here is the
original code snippet

if( inited == null )
{
    inited = true;
    NetServices.setDefaultGatewayUrl(
"http://www.jasonmperry.com/services/gateway.aspx" );
    gatewayConnection = NetServices.createGatewayConnection();
   
    ASPXService = gatewayConnection.getService( "services", this );
}

When I open http://localhost/flashremoting/gateway.aspx in a webbrowser it
opens..so I can tell my webserver is setup

I get the same error : Error opening URL
http://localhost/flashremoting/gateway.aspx
   
when running any of the examples in flash that come with the remoting package

I'm sure it is something simple that I am overlooking, but I can't figure out
what it is

any advice would be great...thanks
bennny16 - 25 Jul 2005 17:39 GMT
Yeah, it was a problem with my webserver..not sure why.

I installed flash remoting on a different web server and it works great...so who knows
bennny16 - 25 Jul 2005 21:51 GMT
actually I really did fix it now...
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

ran  aspnet_regiis.exe -i

works like a charm now....i didn't realize that you had to do that with windows 2000 :d
 
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.