[Mono-list] Weird Exception in mod_mono

Gonzalo Paniagua Javier gonzalo@ximian.com
Thu, 04 Mar 2004 14:55:59 -0500


El mié, 03-03-2004 a las 12:33, Jonathan Stowe escribió:
> I am getting this and I can't find any reports in the list or elsewhere
> of anything quite the same:
> 
> 
> System.InvalidOperationException: Process has not been started.
> in <0x00065> System.Diagnostics.Process:get_ExitCode ()
> in <0x00050> (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ExitCode ()
> in <0x00231> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters,string[],bool)
> in <0x00302> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
> in <0x0005c> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
> in <0x00123> System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler)
> in <0x002ab> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> in <0x001de> System.Web.Compilation.AspGenerator:GetCompiledType ()
> in <0x00046> System.Web.Compilation.GlobalAsaxCompiler:CompileApplicationType (System.Web.UI.ApplicationFileParser)
> in <0x0003b> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType (string,System.Web.HttpContext)
> in <0x00047> System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)
> in <0x00032> System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext)
> in <0x00096> System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
> in <0x00129> System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest)
> 
> It looks like it is being fed something it doesn't like from Apache But
> I am not quite sure what ( it is a bog standard new apache 2 which is
> not doing anything else).  Any ideas what might be causing this or where
> I should be looking to find out myself?

Ensure that mcs is in your PATH environment variable and is executable
when you run mod-mono-server.

-Gonzalo