all groups > macromedia flash flash remoting > march 2006 >
You're in the

macromedia flash flash remoting

group:

HELP! HTTP status:500



HELP! HTTP status:500 MaxManNH
3/30/2006 4:06:08 PM
macromedia flash flash remoting: Greetings,

I have an ASP site that I have built through VS.NET 2005. I am trying to make
a remoting connection to the site. According to the NetConnection Debugger I am
getting the initial connection. Then I make a call to a DataConnect function
that takes a string and submits it to the server to be checked against a
database. Finally it should simply return true or false if the name is in the
database. However it always returns the following error:

EventType: "Status"
MovieUrl: "file:///C|/Inetpub/wwwroot/FlashRemotingData/FlashRemDataTest.swf"
Source: "Client"
Time: 1143734236350
Date (object #1)
....."Thu Mar 30 10:57:16 GMT-0500 2006"
Status (object #2)
.....code: "NetConnection.Call.Failed"
.....description: "HTTP: Status 500"
.....details: "http://localhost/FlashRemotingData/gateway.aspx"
.....level: "error"

When I try and navigate to the gateway.aspx page in Internet Explorer I get a
parser error stating

Could not load type 'gateway'

It says the error is on the following line of code in the aspx file

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gateway.aspx.cs"
Inherits="gateway" %>

I have tried changing the Inherits= to FlashRemotingData.gateway which is the
name of the site but it throws the same error. Can anyone help me with this? I
need to get this functionality up and running asap for a
demonstration.TextTextTextText
Re: HELP! HTTP status:500 MaxManNH
3/31/2006 2:37:05 AM
Ok, after much hacking and swearing I finally got it all to work

Here is a list of the problems that I had to figure out.

1. In ASP.NET 2.0 you have to publish the site to get the .dlls to compile
properly otherwise the aspx pages will throw errors.
2. Don't forget to add the httpmodule to the web.config file or you will get a
version error.
3. Make sure you recompile the site everytime you make changes otherwise you
can get a parser error

AddThis Social Bookmark Button