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

macromedia flash flash remoting

group:

Can't connect to gateway.aspx.


Can't connect to gateway.aspx. shide
7/21/2004 12:02:01 PM
macromedia flash flash remoting:
Hi, i've been trying some tutorials about remoting over .NET. The code is
simple, everything is installed (FrameWork, SDK, Flash Remoting, components and
IIS) but a do always get the same error when trying to connect to the gateway.

Status (object #2)
.....code: "NetConnection.Call.Failed"
.....description: "HTTP: Status 405"
.....details: "http://localhost/flashremoting/gateway.aspx"
.....level: "error"

and the message

Error opening URL "http://localhost/flashremoting/gateway.aspx"

in the output window.

I'm sure it's not a code problem, can anyone help me??

Thanks.
Re: Can't connect to gateway.aspx. PixelPuppet
7/21/2004 5:26:38 PM
Make sure that the BIN directory in your flashremoting folder under wwwroot has write access for your IUSER account and your ASPNET_USER account.

Re: Can't connect to gateway.aspx. shide
7/21/2004 6:05:10 PM
Yeah, everything is installed and apparently working fine.

I've discovered how to avoid the error I posted, it was an IIS configuration
matter but now i'm struck again with another error... and i think it's worst
than the first one because i get no feed about how to solve it.

Now I can connect, but i always get a

Status (object #2)
.....code: "NetConnection.Call.BadVersion"
.....description: ""
.....details: ""
.....level: "error"

It's the same if I try to call an assembly or asp.net resource, the
netDebugger shows the same. Does anybody know wich might be the problem? I
think it's related to the IIS configuration but i'm not sure...
Re: Can't connect to gateway.aspx. pete
7/30/2004 6:08:30 PM
It is likely that your gateway is not correctly configured for your ASP.NET web
application.

Have you got the following under your httpModules configuration in /Web.config?

<add name="GatewayController"
type="FlashGateway.Controller.GatewayController,flashgateway" />

The "flashgateway" here refers to the flashgateway.dll which shoud reside in
the web applications /bin subdirectory (i.e. the Local Assembly Cache (LAC))

Flash Remoting MX on .NET works by intercepting HTTP traffic and processing
the request body if the Content-Type was sent as "application/x-amf". That
error message occurs because the response from the
http://localhost/flashremoting/gateway.aspx URL is not AMF formatted, but
probably plain old HTML.

A status 405 may mean that you need to install ASP.NET on IIS (search for
instructions on running the aspnet_regiis.exe program, which is located in
\WINNT\Microsoft.NET\Framework\v1.1.4322).



AddThis Social Bookmark Button