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

macromedia flash flash remoting

group:

Unable to connect errors in flash


Unable to connect errors in flash bennny16
7/20/2005 7:17:41 PM
macromedia flash flash remoting:
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
Re: Unable to connect errors in flash bennny16
7/25/2005 12:00:00 AM
Yeah, it was a problem with my webserver..not sure why.

Re: Unable to connect errors in flash bennny16
7/25/2005 8:51:50 PM
actually I really did fix it now...
C:\WINNT\Microsoft.NET\Framework\v1.1.4322

ran aspnet_regiis.exe -i

AddThis Social Bookmark Button