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

Sébastien Ros s.ros@evaluant.com
Thu, 8 May 2003 11:01:20 +0200

Same problem, plus another one when running "mono server.exe":

"The assembly corlib.dll was not found or could not be loaded.
It should have been installed in the 'c:/mono/mb/install/lib' directory"

It works fine when I copy the distribution into this one.
I first installed it into "c:/mono-0.24"

-----Message d'origine-----
De : mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] De la part de Henrique
Envoyé : jeudi 8 mai 2003 05:31
À : mono-list@lists.ximian.com
Objet : [Mono-list] bug in System.Web.HttpRuntimeProcessRequest()?


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
<0x00049> 00 System.Web.Compilation.AspGenerator:InitParser (string)in
<0x0004c> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()in
<0x00071> 00
(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
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

Mono-list maillist  -  Mono-list@lists.ximian.com