[Mono-list] bug in System.Web.HttpRuntimeProcessRequest()?

Henrique Seganfredo henrique@seganfredo.com
Thu, 8 May 2003 00:31:14 -0300


I am not sure about, just have tried to run XSP (0.4), compile it under
cygwin (using mono (0.24)/win32 (XP Home)here) and when I perform any
request I get the following message

Error in '/' Application


Description: Error processing request.

Error Message:

Stack Trace: System.IO.DirectoryNotFoundException: Directory
'C:\C:\cygwin\xsp-0.4\server\test' not found.in <0x00194> 00
System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int)in
<0x0001d> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)in
<0x00049> 00 System.Web.Compilation.AspGenerator:InitParser (string)in
<0x0004c> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()in
<0x00071> 00 System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
(string,System.Web.HttpContext)in <0x0003a> 00
System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)in
<0x00031> 00 System.Web.HttpApplicationFactory:InitializeFactory
(System.Web.HttpContext)in <0x00076> 00
System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)in
<0x00151> 00 System.Web.HttpRuntime:InternalExecuteRequest


looking to the XSP source code, I see the MonoWorkerRequest class that has
the string mappedPath, this string shows up as


just before the method ProcessRequest() calls HttpRuntime.ProcessRequest

So I guess HttpRuntime.ProcessRequest()  (or something below)  adds the
doubled "C:\" on the file path and causes the error...

Anybody here tried sucessfully XSP on Win32?

Henrique Seganfredo