It apologizes because of poor English.
I am encountering the same problem that Mr.jaxon02 has, too.
I am creating the Flash program with FlashRemoting and ASP.NET.
When I try to use a codebehind page in ASP.NET, e.g. foobar.aspx and
foobar.aspx.cs, Flash NetConnection Debuger returns follows,
---------------------------------------------
DebugId: 0
EventType: "AmfStatusCall"
MethodName: "/1/onStatus"
MovieURL: ".....foobar.swf"
Protocol: "http"
ResponseURI: (undefined)
Source: "Server"
Time: 1106815583031
Date (object #1)
....."Thu Jan 27 17:46:23 GMT+0900 2005"
Parameters (object #2)
.....code: "SERVER.PROCESSING"
.....description: "Could not load type 'flashSearch01.Search01'"
.....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 aspx code is follows,
---------------------------------------------
<%@ Page language="c#" Debug="true" Codebehind="flashSearch01.aspx.cs"
AutoEventWireup="false" Inherits="flashSearch01.Search01" %>
<%@ Register TagPrefix="Macromedia" Namespace="FlashGateway"
Assembly="flashgateway" %>
<Macromedia:Flash ID="Flash" runat="server" />
---------------------------------------------
When I execute the aspx page through a web browser, no errors. (Though it is
natural)Nothing is desplayed.
Anything is hardly being written in the .aspx.cs file.
If anyone knows the solution, please tell me.
ko316 - 27 Jan 2005 15:17 GMT
Sorry, I solved for oneself.
I mistaked about how to use of the function "setDefaultGatewayUrl()".
I copied the file "flashgateway.aspx" to my folder, and assigned it argument
of "setDefaultGatewayUrl()",
e.g. http://localhost/MyFolder/flashgateway.aspx, it came good.
Thank you.