SPAM: [Mono-list] mod_mono help...

Brown, Robert rbrown@plls.com
Tue, 31 Aug 2004 12:31:32 -0400


I would help if you could send the code that is generating this error.
-=3DRobert=20

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Reno Romanin
Sent: Tuesday, August 31, 2004 12:46 AM
To: mono-list@lists.ximian.com
Subject: SPAM: [Mono-list] mod_mono help...

Hey there, first post to this list, thanks for any help in advance ;P

Anyway, I'm not a programmer of any type, all I am trying to do is host
a site that is written in c#.

It's pretty simple, click on something and it searches a flat database
for related info. When I try to do this, it returns an http 500 error,
something like this:

Description: Error processing request.=20
Error Message: HTTP 500.=20

Stack Trace: System.InvalidCastException: Cannot cast from source type
to destination type.
in <0x00037> System.Web.UI.WebControls.WebControl:LoadViewState (object)
in <0x00022> System.Web.UI.WebControls.Label:LoadViewState (object) in
<0x00093> System.Web.UI.Control:LoadViewStateRecursive (object) in
<0x001b4> System.Web.UI.Control:LoadViewStateRecursive (object) in
<0x001b4> System.Web.UI.Control:LoadViewStateRecursive (object) in
<0x0005b> System.Web.UI.Page:LoadPageViewState () in <0x000f1>
System.Web.UI.Page:InternalProcessRequest () in <0x000c2>
System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in <0x00359>
System.Web.HttpServerUtility:Execute
(string,System.IO.TextWriter,bool)
in <0x000bb> System.Web.HttpServerUtility:Transfer (string,bool) in
<0x00016> System.Web.HttpServerUtility:Transfer (string) in <0x00020>
tickethog.pageDefault:btnSearch_Click
(object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0009e> System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
in <0x00058>
System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.Rai
sePostBackEvent (string)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent
(System.Web.UI.IPostBackEventHandler,string)
in <0x0003e> System.Web.UI.Page:RaisePostBackEvents () in <0x002c3>
System.Web.UI.Page:InternalProcessRequest () in <0x000c2>
System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) in <0x002eb>
ExecuteHandlerState:Execute () in <0x00084> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)



This site works perfectly on an IIS server, so I know the code is there,

But I can't get it to work right on apache, so I'm sure it's something
I've missed in the mod-mono-server.config.=20
Any input/info would help a lot!

TIA,=20

--reno

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list