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