[Mono-devel-list] Webservice (mod_mono) help?

Jon Benson Jon at destra.com
Sun Nov 7 21:27:07 EST 2004


I just realised my reply went direct and I didn't CC the list.  So here
is a copy just in case anyone runs in to similar problems.

I forgot to mention that things work fine if I compile a test app and
run it under Mono directly.

I've made the test available here:
http://ozhmx0.ozhosting.com/services/Test.asmx


It returns an internal server error.

Strangely enough another method in the original service crashes slightly
differently in that it returns the error within the services test form
webpage as follows:
=====================
The web service returned the following result:


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head>
<title>200 OK</title> </head><body> <h1>OK</h1> <p>The server
encountered an internal error or misconfiguration and was unable to
complete your request.</p> <p>Please contact the server administrator,
postmaster at ozhosting.com and inform them of the time the error occurred,
and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the server
error log.</p> <hr/>
<address>Apache/2.0.46 (Red Hat) Server at ozhmx0.ozhosting.com Port
80</address> </body></html> 
=====================

It works fine under XSP as well it seems.  I guess my mod_mono
installation/configuration is broken somehow.  :(

At least I can potentially run XSP instead though.  :)

Any suggestions on how to further debug the problems with mod_mono?


Regards,

Jon Benson
Mail/DNS/Linux Administrator
OzHosting.com 

-----Original Message-----
From: Miguel de Icaza [mailto:miguel at ximian.com] 
Sent: Monday, 8 November 2004 12:53 PM
To: Jon Benson
Cc: Mono Development List
Subject: Re: [Mono-devel-list] Webservice (mod_mono) help?

 
> I've got to a certain point in my project and just discovered that 
> perhaps web services in Mono aren't as developed as I'd hoped.
> Either that or I'm missing something with my setup that is breaking 
> them.

Your setup is likely broken, as that web service barely uses any
features in Mono, and all it uses is implemented :-)

> The following is a test service I wrote which just crashes
> Apache/mod_mono  :(   The original has some of this functionality
> wrapped in a DLL and in both cases (test and original) works fine 
> under Windows and .NET

How does it crash it?

You could try debugging this with xsp.

Miguel



More information about the Mono-devel-list mailing list