[Mono-list] XSP log/console output

A Rafael D Teixeira rafael.teixeirabr at terra.com.br
Mon Jul 4 09:29:40 EDT 2005

On Sat, 2005-07-02 at 11:46 +0200, Nils Kalchhauser wrote:
> Hi!
> I'm developing an ASP.NET application with mono xsp and cannot find any
> console output. I am on ubuntu/debian and use the mono-apache-server
> package (1.0-3). when I have an error in an aspx file then XSP displays
> something like:
> Server error in '/epoBASE' application
> Cannot find '96069.dll'.
> Description: Error processing request.
> Error Message: HTTP 404. Cannot find '96069.dll'.

Seems like the page compilation is failing but not for syntactical

Some possibilities:

A long time ago mbas was taking to much time to compile things and would
timeout, are you using VB.NET as the page script language? 

Warning: In Mono I recommend to be explicit about the script language in
the @page directive as Mono defaults to a different language than MS (C#
for Mono/VB.NET for MS).

The user that is used by mod_mono/xsp has the rights to execute mono
compilers and generate the dlls in the configured temporary directory? 

The temporary directory is being cleaned during operation? I recommend
to configure it in the machine.config to some specific location not
automatically cleansed.

> I read in bugzilla (http://bugzilla.ximian.com/show_bug.cgi?id=63218)
> that the console output of XSP should give more information. but I
> cannot find any console output at all.

The only errors you will see in the console are the initialization
errors, page errors are sent back to the browser, but the level of
details is normally better than what is in your case. Also you can
enable asp.net tracing and monitor things in a separate browser window. 

For more information about tracing please google for trace.axd. The top
item that came for me is this quickstart that is already useful:

> I tried to use the xsp executable without apache, which generally works.
> but when I have an error in an aspx again I dont get any console output
> from XSP even though I started it from the console and never sent it to
> background.

As I said only initialization errors may appear in the console, and I
think only in XSP.

> can you configure xsp to write to a logfile?

Again: enable ASP.NET tracing

> thanks,
> Nils

Rafael "Monoman" Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.mono-project.com/
Mono Brasil Founding Member - http://monobrasil.softwarelivre.org/
Simios Proud Member - http://www.simios.org/ 
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://www.simios.org/blog/monoman

More information about the Mono-list mailing list