[Mono-list] XSP server

Carlos Cesario ccesario@isic.com.br
Fri, 30 Aug 2002 14:56:51 -0300


Hello...

I'm get the source of XSP via CVS and compiled... but when run "mono 
server.exe 8000" and access the address http://localhost:8000 ocrurs the 
errors....

---------
[root@tec14ccesario rundir]# mono server.exe 8000
Remember that you should rerun the server if you change
the aspx file!
Server started.
Accepted connection.
Started processing...
mono xsp.exe index.aspx
Output goes to output/xsp_index.cs
Script file is output/xsp_index.aspx.sh

** (process:646): WARNING **: Failed to load function OutputDebugString 
from kernel32.dll
mcs --target library -L . -r corlib -r System -r System.Data -r 
System.Web -r System.Drawing -o output/182291563index.dll 
output/xsp_index.csOutput goes to 
output/output_from_compilation_xsp_index.txt
Script file is output/last_compilation_xsp_index.bat
Accepted connection.
Started processing...

** (process:649): WARNING **: unhandled exception 
System.ObjectDisposedException: "The object was used after being disposed"
in <0x00060> System.Net.Sockets.TcpClient:CheckDisposed ()
in <0x0002a> System.Net.Sockets.TcpClient:GetStream ()
in <0x00064> Mono.ASP.Worker:Run ()


** (process:642): WARNING **: unhandled exception 
System.NullReferenceException: "A null value was found where an object 
instance was required"

Caught exception rendering page:
System.FormatException
Invalid formatSystem.FormatExceptionin <0x002bb> System.UInt32:Parse 
(string)
in <0x0000a> System.String:System.IConvertible.ToUInt32 
(System.IFormatProvider)
in <0x00430> ASP.index_aspx:__Render_Root 
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in <0x00051> (delegate invoke wrapper) 
System.MulticastDelegate:invoke_void_HtmlTextWriter_Control 
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in <0x00056> System.Web.UI.Control:RenderChildren 
(System.Web.UI.HtmlTextWriter)
in <0x00013> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter)
in <0x00022> System.Web.UI.Control:RenderControl 
(System.Web.UI.HtmlTextWriter)
in <0x0048d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x000d6> Mono.ASP.MyWorkerRequest:RenderPage (System.Web.UI.Page)

Caught exception in Worker.Run
System.NullReferenceException
A null value was found where an object instance was 
requiredSystem.NullReferenceExceptionin <0x0006d> 
Mono.ASP.HttpHelpers:RenderErrorPage 
(System.IO.TextWriter,int,string,string)
in <0x0017d> Mono.ASP.MyWorkerRequest:RenderPage (System.Web.UI.Page)
in <0x00334> Mono.ASP.MyWorkerRequest:ProcessRequest ()
in <0x00125> Mono.ASP.Worker:Run ()

in <0x0006d> Mono.ASP.HttpHelpers:RenderErrorPage 
(System.IO.TextWriter,int,string,string)
in <0x0017d> Mono.ASP.MyWorkerRequest:RenderPage (System.Web.UI.Page)
in <0x00334> Mono.ASP.MyWorkerRequest:ProcessRequest ()
in <0x00125> Mono.ASP.Worker:Run ()


** (process:644): WARNING **: unhandled exception 
System.ArgumentOutOfRangeException: "Argument is out of range"
in <0x0008d> System.String:Substring (int,int)
in <0x00217> Mono.ASP.Worker:Run ()
-----------------------

And the server DOWN! :(

Somebody have any solution???

greets

Carlos Cesario