[Mono-list] [LONG] Problem with running mod_mono example

Mariusz Bożewicz plachninka@wp.pl
Wed, 19 Nov 2003 14:01:26 +0100


Helo

I still have a problem with running an example in mod_mono. Can anyone tell me, what type of problem is here?


regards
Mariusz Bozewicz


Configuration of mod_mono is following:

plachnina:/home/mario# cat /etc/apache2/mods-enabled/mod_mono.conf

AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.asp

LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias  /mono /usr/local/xsp-server/share/doc/xsp/test

and mod-mono-server:

plachnina:/usr/local/xsp-server/share/doc/xsp/test# mono
/usr/local/xsp-server/bin/mod-mono-server.exe --filename
/tmp/mod_mono_server --root . --applications /mono:.


/tmp/mod_mono_server file has 777 permissions.


In webbrowser (http://localhost/mono/index.aspx) I get following
error:

Server error in '/mono' application

Description: Error processing request.

Error Message:

Stack Trace:

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 <0x00317>
Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompil
eUnit[])
in <0x00059> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompil
eUnit)
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 <0x00068>
System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
(string,System.Web.HttpContext)
in <0x00045> System.Web.HttpApplicationFactory:CompileApp
(System.Web.HttpContext)
in <0x00032> System.Web.HttpApplicationFactory:InitializeFactory
(System.Web.HttpContext)
in <0x00094> System.Web.HttpApplicationFactory:GetInstance
(System.Web.HttpContext)
in <0x00140> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)