[Mono-list] Need help with mod_mono/xsp.
Roberto Jimeno
rjimeno2003@yahoo.com
Tue, 9 Dec 2003 11:19:41 -0800 (PST)
Hello,
I'm experiencing problems while attempting to serve
.aspx files through apache. I have the most recent
mod_mono, xsp, mono, apache, etc .rpm files installed
on my redhat 9 system (by the way, due to the nature
of my work, I should stick to RPM and avoid CVS or
.tar filles).
Right after installation (well, after changing to
doc/xsp/test directory and starting
mod-mono-server.exe and httpd), I get the error
message "Object not found" when i try to check
"http://localhost/mono/index.aspx". Then I followed
the indications (skipping 1&2 installation sections)
on the INSTALL file (from CVS, seven weeks old) and
tried adding:
AddType application/x-asp-net .aspx .ashx .asmx .ascx
asax .config .ascx
LoadModule mono_module
/usr/lib/httpd/modules/mod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono "/usr/share/doc/xsp/test"
at the bottom of my httpd.conf file, and I also did a
"chmod 666 /tmp/mod_mono_server" after restarting
mod-mono-server.exe, and then restarted apache. After
that, i got a large error message (shown at the
bottom).
In an attept to better diagnose the problem, I tried
to run xsp.exe in a stand-alone way (i.e. without
apache) on a different port (8080 instead of 80) and
got the exact same error mesage.
Please tell me what should I tweak in order tho have
mod-mono-server/apache working (or at least xsp.exe
alone). I'm kind of lost here, any help would be
appreciated.
Thanks you all.
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 <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 <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 <0x0010c>
System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)
=====
Roberto Jimeno
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/