[Mono-list] A Problem with XSP

Gonzalo Paniagua Javier gonzalo@ximian.com
Sun, 22 Feb 2004 03:20:38 +0100


El vie, 20-02-2004 a las 16:50, Filip Brčić escribió:
> Hi!
> I am building some web service using Ximian Mono.NET (0.29). After a
> system crash, I get a problem with running xsp. And the problem is not
> related only to my web service, but to every asp site ran by xsp
> (including the included test pages). In particular, I get the
> following error when I point my browser to localhost:8080: 
>         System.ComponentModel.Win32Exception: Some sort of w32 error occurred: 0
>         in <0x00308> System.Diagnostics.Process:Start_common (System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)
>         in <0x00016> System.Diagnostics.Process:Start ()
>         in <0x0005d> (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
>         in <0x001fd> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters,string[],bool)
>         in <0x00305> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
>         in <0x00059> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
>         in <0x00130> System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler)
>         in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
>         in <0x0012d> System.Web.Compilation.AspGenerator:GetCompiledType ()
>         in <0x0003b> System.Web.UI.PageParser:CompileIntoType ()
>         in <0x0001e> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
>         in <0x0004a> System.Web.UI.PageParser:GetCompiledPageInstance (string,string,System.Web.HttpContext)
>         in <0x00013> System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext,string,string,string)
>         in <0x001aa> System.Web.HttpApplication:CreateHttpHandler (System.Web.HttpContext,string,string,string)
>         in <0x0011f> .CreateHandlerState:Execute ()
>         in <0x00076> .StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)
> I have recompiled the whole mono suite several times with different
> options but nothing happens. Now I am running mono with
> --disable-shared-handles options (in configure), but before I did that
> I got the error that sounded something like this: "cannot load shared
> libraries, falling back to static". I realy don't know what is the
> problem. I suspect that the system crash did something to some library
> that is being used by mono, but I haven't got a clue which one it is
> (all the other programs work just fine). I can reinstall that library,
> but I would like to know which one (or at least a clue that would help
> me find out which libraries to reinstall), because I wouldn't like to
> reinstall the whole system.

Shared handles must be enable for Process class to work. That class is
used to run 'mcs' when compiling ASP.NET pages. So, 'mcs' must be in
your PATH.

-Gonzalo