[Mono-list] System.InvalidOperationException: Process has not been started.

Adam W woja@optusnet.com.au
Thu, 06 May 2004 17:26:39 +1000


Hi All,

Trying to get mod_mono running under apache2 on mandrake 10.0. Got it 
compiled and all, but keep getting this error message in the browser:

Description: Error processing request. 
Error Message: HTTP 500. 

Stack Trace: 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 <0x00390> 
Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompile
Unit[])
in <0x0005c> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompile
Unit)
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 
<0x00036> 
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 <0x00078> 
System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext) in 
<0x00132> System.Web.HttpRuntime:InternalExecuteRequest 
(System.Web.HttpWorkerRequest)

 
When I request for a page. Namely index.aspx of the test files given.

I have seen an "answer" to this problem searching through google. It involves 
removing the ~/.wapi directory. I removed it from both /tmp and /root and this 
problem still persists..

mono, mcs and mod_mono_server seem to have the correct permissions. There 
arent any log entries that give any clues either.

All the latest stable downloads from www.go-mono.com. (mod_mono 0.8)

Any ideas??

Thanks,
Adam.