[Mono-list] RE: mod_mono on Apache2 - Solaris 8
Gonzalo Paniagua Javier
gonzalo@ximian.com
Wed, 14 Apr 2004 02:11:25 +0200
El mié, 14-04-2004 a las 02:01, Mike Cano escribió:
> Thanks to Chris Turchin I'm a little further along debugging this :)
>
> I'm now trying to run xsp.exe in standalone mode to see what could be
> wrong.
>
> Here's my latest attempt:
> # cd /usr/share/doc/xsp/test
> # mono /usr/bin/xsp.exe --root . --applications /mono:.
> Listening on port: 8080
> Listening on address: 0.0.0.0
> Root directory: /usr/share/doc/xsp/test
> Hit Return to stop the server.
>
> And then, in a browser, requesting
> http://10.66.10.1:8080/mono/index.aspx
>
> xsp responds with:
> BEFORE FILTER.
> AFTER FILTER.
> BEFORE FILTER.
> AFTER FILTER.
>
> Browser responds with:
> Server error in '/mono' application
> ------------------------------------------------------------------------
> --------
> Description: Error processing request.
> Error Message: HTTP 500.
>
> Stack Trace: System.IO.FileNotFoundException: File '/var/tmp/45878.dll'
> not found.
That looks like it's trying to run 'mcs' to compile the generated code
for the page, the execution succeeded and there's no assembly. We're
probably being fooled and executing mcs didn't succeed.
Check if mcs is in the PATH and is executed by the system (just edit the
script and make it send some output to a tty. Don't write to stdout or
it will confuse the output 'parser' in CodeDOM).
-Gonzalo