[Mono-list] xsp problem

Gonzalo Paniagua Javier gonzalo@ximian.com
Thu, 08 Apr 2004 10:07:58 +0200


El jue, 08-04-2004 a las 01:31, Juan Miguel escribió:
> Hello,
> 
> 
> I've compiled XSP from cvs whithout problems. It serves
> plain html fine, but when I try to get an aspx page I'm
> getting the following...
> 
> I've found some references to remove the .wapi directory.
> I've removed it but the problem persist.
> 
> Does somebody know what are I doing bad?
> 
> I apologize for my English.
> 
> Thank you in advance,
> 
> Juan Miguel.
> 
> 
> $ mono ./local2/bin/xsp.exe
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /home/mono
> Hit Return to stop the server.
> 
> Violación de segmento
> 
> 
> 
> Description: Error processing request. 
> Error Message: HTTP 500. 
> 
> Stack Trace: System.InvalidOperationException: Process has not been
> started.
> in <0x00060> System.Diagnostics.Process:get_ExitCode ()
> in <0x00057> (wrapper remoting-invoke-with-check)
> System.Diagnostics.Process:get_ExitCode ()
> in <0x00254> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
> (System.CodeDom.Compiler.CompilerParameters,string[],bool)
> in <0x00420> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
> (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
> in <0x00067> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
> (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
> in <0x00130> System.Web.Compilation.CachingCompiler:Compile
> (System.Web.Compilation.BaseCompiler)
> in <0x00318> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> in <0x00217> System.Web.Compilation.AspGenerator:GetCompiledType ()
> in <0x00039> System.Web.UI.PageParser:CompileIntoType ()
> in <0x0001f> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
> in <0x00051> System.Web.UI.PageParser:GetCompiledPageInstance
> (string,string,System.Web.HttpContext)
> in <0x00013> System.Web.UI.PageHandlerFactory:GetHandler
> (System.Web.HttpContext,string,string,string)
> in <0x00401> System.Web.HttpApplication:CreateHttpHandler
> (System.Web.HttpContext,string,string,string)
> in <0x00170> CreateHandlerState:Execute ()
> in <0x00084> StateMachine:ExecuteState
> (System.Web.HttpApplication/IStateHandler,bool&)

The list archive has the answer: check that 'mcs' is in your PATH.

-Gonzalo