Hi. I’m running Flash Remoting with ASP.NET 2.0. I just upgraded from BETA 1 to BETA 2 for ASP.NET and keep getting the following error message in the NetConnection Debugger:
DebugId: 0
EventType: “AmfStatusCall”
MethodName: “/1/onStatus”
MovieUrl: “http://localhost/flash/gallery_v02.swf?v=fcc3"
Protocol: “http”
ResponseURI: (undefined)
Source: “Server”
Time: 1114256073128
Date (object #1)
…“Sat Apr 23 12:34:33 GMT-0700 2005”
Parameters (object #2)
…code: “SERVER.PROCESSING”
…description: “A value of type ‘FlashGateway.IO.ASObject’ cannot be serialized.”
…details: " at FlashGateway.Delegates.ASPAdapter.InvokeService(ActionContext action)
at FlashGateway.Delegates.ServiceCommander.InvokeAdapter(ActionContext flashContext)
at FlashGateway.Delegates.ServiceFilter.preInvoke(ActionContext flashContext)”
…level: “error”
…type: “System.Web.HttpException”
The error message’s tone sounds like something the .NET framework would spit out yet the error seems like a generic Flash Remoting error. Why would the ASObject not get serialized? What are the causes of this?
I know the code works. After the first few times of getting the above error and refreshing repeatedly, the Flash object is able to succeed in connecting and gets the results I expect from the server. After getting it to succeed once, it doesn’t error out like it did the first few times. Any ideas on what’s going on?
Thanks.