mail-archives/mono-list/2005-February/025551.html

540 строки
36 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] MySQL Connection from .NET Website (David P. Donahue)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:canersahan%40hotmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025568.html">
<LINK REL="Next" HREF="025560.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] MySQL Connection from .NET Website (David P. Donahue)
</H1>
<B>caner Sahan
</B>
<A HREF="mailto:canersahan%40hotmail.com"
TITLE="[Mono-list] MySQL Connection from .NET Website (David P. Donahue)">canersahan@hotmail.com
</A><BR>
<I>Wed, 02 Feb 2005 13:46:05 +0000</I>
<P><UL>
<LI> Previous message: <A HREF="025568.html">[Mono-list] consuming 'php nusoap' webservice
</A></li>
<LI> Next message: <A HREF="025560.html">[Mono-list] Re: MySQL Connection from .NET Website (David P. Donahue)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25551">[ date ]</a>
<a href="thread.html#25551">[ thread ]</a>
<a href="subject.html#25551">[ subject ]</a>
<a href="author.html#25551">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>&lt;html&gt;&lt;div style='background-color:'&gt;&lt;DIV class=RTE&gt;
&lt;P&gt;Hi;&lt;/P&gt;
&lt;P&gt;I think you are using MonoForge hosting and you gave this error from there.When i was putting my application on this web hosting i gave some error like this.You can&amp;nbsp;find your answer in monoforge forum.&lt;/P&gt;
&lt;P&gt;regards.&lt;/P&gt;
&lt;P&gt;Caner ÞAHAN&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: <A HREF="mailto:mono-list-request@lists.ximian.com">mono-list-request@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Reply-To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: Mono-list digest, Vol 1 #2303 - 12 msgs
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Wed, 02 Feb 2005 06:35:02 -0500
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Send Mono-list mailing list submissions to
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To subscribe or unsubscribe via the World Wide Web, visit
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;or, via email, send a message with subject or body 'help' to
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; <A HREF="mailto:mono-list-request@lists.ximian.com">mono-list-request@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;You can reach the person managing the list at
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; <A HREF="mailto:mono-list-admin@lists.ximian.com">mono-list-admin@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;When replying, please edit your Subject line so it is more specific
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;than &quot;Re: Contents of Mono-list digest...&quot;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Today's Topics:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. RE: mod_mono &amp;amp; xsp (Chris Aitken)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. Re: mod_mono &amp;amp; xsp (Elfyn McBratney)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3. RE: mod_mono &amp;amp; xsp (Chris Aitken)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4. SetHandler vs. AddHandler (David P. Donahue)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5. xsp.exe as windows service (marius popa)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;6. Re: SetHandler vs. AddHandler (Gonzalo Paniagua Javier)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;7. Difference in Obsolete attribute behaviour (Jakub Linhart)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8. [OT] post-structuralist object oriented system (PA)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9. Re: HTML 4.01 and XHTML DOM Implementation? (Atsushi Eno)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp; 10. &quot;special&quot; comments in the code/ Monodoc? (Julien Sobrier)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp; 11. MySQL Connection from .NET Website (David P. Donahue)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp; 12. consuming 'php nusoap' webservice (Arturo =?ISO-8859-1?Q?Gonz=E1lez?=)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 1
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: &quot;Chris Aitken&quot; &amp;lt;<A HREF="mailto:chris@ion-dreams.com">chris@ion-dreams.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: &amp;lt;<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: RE: [Mono-list] mod_mono &amp;amp; xsp
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 1 Feb 2005 12:52:39 -0000
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt; Are you by any chance running with a threaded (Apache) MPM?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; Yes, I'm running Apache 2.0.53 with pre-fork MPM.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Does this affect the way that mod_mono/mod-mono-server works?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Debian has 3 options with apache2 (MPM = multi processing module)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Apache2-mpm-worker (threaded implemetation, recommended)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Apache2-mpm-prefork (non threaded, preforking)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Apache2-mpm-perchild (per-child threaded module)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Which one of these is the one to go for?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Cheers
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Chris
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;This message has been scanned for viruses and
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;dangerous content by MailScanner, and is
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;believed to be clean.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 2
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Elfyn McBratney &amp;lt;<A HREF="mailto:beu@emcb.demon.co.uk">beu@emcb.demon.co.uk</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: Re: [Mono-list] mod_mono &amp;amp; xsp
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 1 Feb 2005 13:09:14 +0000
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--nextPart1185175.ngL1xkugPx
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Content-Type: text/plain;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp; charset=&quot;iso-8859-1&quot;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Content-Transfer-Encoding: quoted-printable
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Content-Disposition: inline
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Hello Giuseppe,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;On Tuesday 01 Feb 2005 06:45, Giuseppe Greco wrote:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; Hi Elfyn,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; ...
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; I've followed step-by-step what described in file INSTALL. By default,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; mod_mono is configured to run mod-mono-server automatically, isn't it?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt; It is (or was ;-)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; So where can I look further?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; &amp;gt; Are you by any chance running with a threaded (Apache) MPM?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; Yes, I'm running Apache 2.0.53 with pre-fork MPM.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;prefork is non-threaded, btw. :-)&amp;nbsp;&amp;nbsp;The reason I asked is that we're getting=
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;a=20
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;few reports in Gentoo land of mod_mono not working, and at the moment a =20
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;threaded MPM seems to be the culprit.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Best,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Elfyn
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;=2D-=20
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Elfyn McBratney
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;beu on irc.freenode.net/savannah.[non]gnu.org
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;PGP Key ID: 0x456548B4
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;PGP Key Fingerprint:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp; 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--nextPart1185175.ngL1xkugPx
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Content-Type: application/pgp-signature
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;-----BEGIN PGP SIGNATURE-----
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Version: GnuPG v1.2.6 (GNU/Linux)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;iD8DBQBB/39/gH4Q50OD3mwRArJwAJ96cl73Ziv9GT7HjgMYIqWdUnANYACeIT3e
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;4oJzcUnU10JVtRaogD0UpDE=
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;=HQaO
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;-----END PGP SIGNATURE-----
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--nextPart1185175.ngL1xkugPx--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 3
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: &quot;Chris Aitken&quot; &amp;lt;<A HREF="mailto:chris@ion-dreams.com">chris@ion-dreams.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: &amp;lt;<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: RE: [Mono-list] mod_mono &amp;amp; xsp
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 1 Feb 2005 13:27:23 -0000
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; prefork is non-threaded, btw. :-)&amp;nbsp;&amp;nbsp;The reason I asked is that
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; we're getting a few reports in Gentoo land of mod_mono not
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; working, and at the moment a threaded MPM seems to be the culprit.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I'm running 3 systems, all debian sarge, 2 with the debian unstable mono
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;modules (apart from mod-mono-server &amp;amp; mod-mono).
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Each has the same packages loaded, and each has the FC2
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;mod-mono-server/mod_mono rpms installed (via alien).
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;A third system has the monobundle installed, and the FC2 rpms (again via
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;alien).
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;The third system starts mod-mono-server automatically, but will not stop it
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(so I wrote a shell script). Out of the other two, one works perfectly, the
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;other not at all (unless mod-mono-server started by hand - no
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;/tmp/mod_mono_server appears).
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Every system has the same webapp/mod-mono-server.exe.config files etc. They
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;all use apache2-mpm-prefork.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Chris
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;This message has been scanned for viruses and
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;dangerous content by MailScanner, and is
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;believed to be clean.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 4
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 01 Feb 2005 11:01:49 -0500
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: &quot;David P. Donahue&quot; &amp;lt;<A HREF="mailto:ddonahue@ccs.neu.edu">ddonahue@ccs.neu.edu</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] SetHandler vs. AddHandler
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I just installed the Mono Apache Module and started testing some basic
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;C# websites with it.&amp;nbsp;&amp;nbsp;I was noticing that certain files (specifically in
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;the case of these small sites, .gif and .css files) were being returned
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;but the clients couldn't understand them.&amp;nbsp;&amp;nbsp;In debugging the problem, I
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;found the section in the INSTALL file as follows:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;-------------------------
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;If you don't want mod-mono-server to handle all the files, but only
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ASP.NET ones, you can replace the 'SetHandler mono' by:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;but this will break PathInfo.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;-------------------------
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I made this change in my httpd.conf where I specify the folders that
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;require Mono's use, and this seems to have fixed the problem.&amp;nbsp;&amp;nbsp;My
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;concern, however, is where it says &quot;this will break PathInfo.&quot;&amp;nbsp;&amp;nbsp;I'm not
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;entirely sure what that means.&amp;nbsp;&amp;nbsp;What are the negative aspects of this
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;configuration change?&amp;nbsp;&amp;nbsp;Will it come back to bite me later?&amp;nbsp;&amp;nbsp;Is there a
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;better way to fix this problem?&amp;nbsp;&amp;nbsp;I appreciate any advice you can give
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;me, thanks.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Regards,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;David P. Donahue
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="mailto:ddonahue@ccs.neu.edu">ddonahue@ccs.neu.edu</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 5
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 1 Feb 2005 19:36:35 +0200
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: marius popa &amp;lt;<A HREF="mailto:mapopa@gmail.com">mapopa@gmail.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Reply-To: marius popa &amp;lt;<A HREF="mailto:mapopa@gmail.com">mapopa@gmail.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] xsp.exe as windows service
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I have started apache and xsp&amp;nbsp;&amp;nbsp;(unsing mod_proxy module)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;and want to put xsp.exe to run as serivice at startup
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;What should i do ?&amp;nbsp;&amp;nbsp;add service code for xsp ?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 6
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: Re: [Mono-list] SetHandler vs. AddHandler
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Gonzalo Paniagua Javier &amp;lt;<A HREF="mailto:gonzalo@ximian.com">gonzalo@ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Reply-To: <A HREF="mailto:reply.to.the.list.iam.suscribed@notexists.ximian.com">reply.to.the.list.iam.suscribed@notexists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Organization: Novell, Inc.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 01 Feb 2005 13:35:57 -0500
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;On Tue, 2005-02-01 at 11:01 -0500, David P. Donahue wrote:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; I just installed the Mono Apache Module and started testing some basic
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; C# websites with it.&amp;nbsp;&amp;nbsp;I was noticing that certain files (specifically in
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; the case of these small sites, .gif and .css files) were being returned
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; but the clients couldn't understand them.&amp;nbsp;&amp;nbsp;In debugging the problem, I
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; found the section in the INSTALL file as follows:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; -------------------------
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; If you don't want mod-mono-server to handle all the files, but only
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ASP.NET ones, you can replace the 'SetHandler mono' by:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;but this will break PathInfo.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; -------------------------
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; I made this change in my httpd.conf where I specify the folders that
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; require Mono's use, and this seems to have fixed the problem.&amp;nbsp;&amp;nbsp;My
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; concern, however, is where it says &quot;this will break PathInfo.&quot;&amp;nbsp;&amp;nbsp;I'm not
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; entirely sure what that means.&amp;nbsp;&amp;nbsp;What are the negative aspects of this
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; configuration change?&amp;nbsp;&amp;nbsp;Will it come back to bite me later?&amp;nbsp;&amp;nbsp;Is there a
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; better way to fix this problem?&amp;nbsp;&amp;nbsp;I appreciate any advice you can give
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; me, thanks.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;For an URL like this:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://www.someserver.com/somedir/somefile.ext/andthis/andthat">http://www.someserver.com/somedir/somefile.ext/andthis/andthat</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;if /somedir/somefile.ext exists, /andthis/andthat is that pathinfo. As
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;long as you don't use that in the virtual directories handled by
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;mod-mono, you're fine.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;-Gonzalo
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 7
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 01 Feb 2005 23:36:56 +0100
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Jakub Linhart &amp;lt;<A HREF="mailto:jakub.linhart@vslib.cz">jakub.linhart@vslib.cz</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] Difference in Obsolete attribute behaviour
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I have code like this:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;1 class TestClass1 {
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Obsolete (&quot;This method ObsoleteMethod1 is obsolete.&quot;, false)]
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void ObsoleteMethod1() {
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine (&quot;Executing ObsoleteMethod1()&quot;);
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;6 }
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;7 class TestClass2 {
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Obsolete (&quot;This method ObsoleteMethod2 is obsolete.&quot;, true)]
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;nbsp;&amp;nbsp;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static void ObsoleteMethod2() {
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TestClass1.ObsoleteMethod1();
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public static void NewMethod2() {
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TestClass1.ObsoleteMethod1();
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ObsoleteMethod2();
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;16}
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;If this code fragment is compiled under .NET framework, CSC reports&amp;nbsp;&amp;nbsp;one
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;error (CS0619) on line 13 and&amp;nbsp;&amp;nbsp;one warning (CS0618) at line 14. You get
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;2 errors (line 10, line 13) and 1 warning (line 14) under MONO 1.05
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(mcs). It looks like that CSC ignores every call to method marked as
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;obsolete from other obsolete method. MCS reports every call to obsolete
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;method as error or warning. Is it particular reason for such a behaviour?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 8
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: PA &amp;lt;<A HREF="mailto:petite.abeille@gmail.com">petite.abeille@gmail.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 1 Feb 2005 21:46:25 +0100
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] [OT] post-structuralist object oriented system
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Not really a question, but rather for your entertainment:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&quot;Lua=92s Story of O&quot;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://alt.textdrive.com/lua/19/lua-story-of-o">http://alt.textdrive.com/lua/19/lua-story-of-o</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Cheers
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;PA, Onnay Equitursay
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://alt.textdrive.com/">http://alt.textdrive.com/</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 9
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Wed, 02 Feb 2005 07:01:12 +0900
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Atsushi Eno &amp;lt;<A HREF="mailto:atsushi@ximian.com">atsushi@ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: Edgardo Rossetto &amp;lt;<A HREF="mailto:erossetto@speedy.com.ar">erossetto@speedy.com.ar</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Cc: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: Re: [Mono-list] HTML 4.01 and XHTML DOM Implementation?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Hi,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; - Does anyone know a HTML 4.01 / XHTML implementation of the DOM, or is
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; only System.Xml (XML 1.0 and 2.0 only AFAIK) avaiable?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;At least I don't know.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; - Any ideas if .NET 2.0 will have?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I think never.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; - Any plans to make a Mono Class for this?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;No, but if anyone would like to contribute, it is nice.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; Is it possible to &quot;load&quot; the DTD specification for HTML 4.01 and XML
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt; &amp;gt; usiing the System.Xml namespace or am I just dreaming?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;There is an obsolete sample named SgmlReader in gotdotnet which is
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;left buggy, unsupported, and incompatible with free software.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Atsushi Eno
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 10
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 01 Feb 2005 21:14:40 -0800
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Julien Sobrier &amp;lt;<A HREF="mailto:julien@sobrier.net">julien@sobrier.net</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: <A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] &quot;special&quot; comments in the code/ Monodoc?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Hello,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;once I found a page explaining how to format the comments (like
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;&amp;lt;c&amp;gt;MyClass&amp;lt;/c&amp;gt;) inside the code to then generate automatically a doc for
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;our code. I'm not sure this is exactly what Monodoc is using.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I cannot find this link anymore.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Anybody know what I'm talking about?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Thanks
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Julien
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 11
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Tue, 01 Feb 2005 21:52:07 -0500
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: &quot;David P. Donahue&quot; &amp;lt;<A HREF="mailto:david.donahue@us.army.mil">david.donahue@us.army.mil</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: mono-list &amp;lt;<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] MySQL Connection from .NET Website
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I'm trying to track down a problem with websites using a connection to a
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;MySQL database.&amp;nbsp;&amp;nbsp;Has anyone had any problems using the CoreLab.MySQL.dll
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;libraries with Mono?&amp;nbsp;&amp;nbsp;If it's known not to work, is there a
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;different/better way to connect to the database?&amp;nbsp;&amp;nbsp;For reference, the
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;code used in a simple test page is as follows (sorry for any wrapping):
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;MySqlConnection mySqlConnectionGrid;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;MySqlDataAdapter mySqlDataAdapter;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;DataSet dataSetGrid;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;string stringSQL;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;stringSQL = &quot;SELECT * FROM Reference_DaysOfTheWeek&quot;;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;mySqlConnectionGrid = new MySqlConnection(Global.stringDatabaseConnection);
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;mySqlDataAdapter = new MySqlDataAdapter(stringSQL, mySqlConnectionGrid);
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;dataSetGrid = new DataSet();
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;mySqlDataAdapter.Fill(dataSetGrid);
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;dataListDOTW.DataSource = dataSetGrid;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;dataListDOTW.DataBind();
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;And the problem this has been giving me is that the server simply hangs
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;when this page is requested until it eventually times out.&amp;nbsp;&amp;nbsp;Any ideas?
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Regards,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;David P. Donahue
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="mailto:ddonahue@ccs.neu.edu">ddonahue@ccs.neu.edu</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Message: 12
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;From: Arturo =?ISO-8859-1?Q?Gonz=E1lez?= &amp;lt;<A HREF="mailto:arturogf@ugr.es">arturogf@ugr.es</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;To: mono-list &amp;lt;<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Date: Wed, 02 Feb 2005 11:50:03 +0100
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Subject: [Mono-list] consuming 'php nusoap' webservice
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Hi,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;I'm trying to develop an example client for ILIAS open source
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;webservice, lately supported by novell
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(<A HREF="http://www.ilias.uni-koeln.de/ios/index-e.html">http://www.ilias.uni-koeln.de/ios/index-e.html</A>) , but i'm having
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;problems with a remote function that returns an integer.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;The server is located at:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://tad1.ugr.es/ilias_3_3_x/webservice/soap/server.php">http://tad1.ugr.es/ilias_3_3_x/webservice/soap/server.php</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://tad1.ugr.es/ilias_3_3_x/webservice/soap/server.php?wsdl">http://tad1.ugr.es/ilias_3_3_x/webservice/soap/server.php?wsdl</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;if i try to consume the lookupUser method as follows:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;int user_id =&amp;nbsp;&amp;nbsp;ilUA.lookupUser(sess_id, &quot;soap_user&quot;);
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Then the compiler says that can't convert from string to int:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;exampleClient.cs(25) error CS0029: Cannot convert implicitly from
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;`string' to `int'
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;if i try the next:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;int user_id =&amp;nbsp;&amp;nbsp;Convert.ToInt32(ilUA.lookupUser(sess_id, &quot;soap_user&quot;));
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;then it throws:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Unhandled Exception: System.Web.Services.Protocols.SoapException:
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Session not valid
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x004c5&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x0007d&amp;gt; (wrapper remoting-invoke-with-check)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x002a9&amp;gt; System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(string,object[])
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x0006b&amp;gt; (wrapper remoting-invoke-with-check)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;(string,object[])
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x0006b&amp;gt; ilUserAdministration:lookupUser (string,string)
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;in &amp;lt;0x000bf&amp;gt; ConsoleIlUserAdmin:Main (string[])
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Does anyone know what could be happening? I had no problem consuming the
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;'login' method that returns a string with the PHP_SESSID.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;regards,
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Arturo.
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Arturo González &amp;lt;<A HREF="mailto:arturogf@ugr.es">arturogf@ugr.es</A>&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;--__--__--
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;_______________________________________________
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;Mono-list mailing list
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;
&lt;DIV&gt;&lt;/DIV&gt;&amp;gt;End of Mono-list Digest
&lt;DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br clear=all&gt;&lt;hr&gt; &lt;a href=&quot;<A HREF="http://g.msn.com/8HMAENUS/2728??PS=47575"">http://g.msn.com/8HMAENUS/2728??PS=47575&quot;</A> target=&quot;_top&quot;&gt;Try the new Beta version of MSN Messenger - it's FREE!&lt;/a&gt; &lt;/html&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025568.html">[Mono-list] consuming 'php nusoap' webservice
</A></li>
<LI> Next message: <A HREF="025560.html">[Mono-list] Re: MySQL Connection from .NET Website (David P. Donahue)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25551">[ date ]</a>
<a href="thread.html#25551">[ thread ]</a>
<a href="subject.html#25551">[ subject ]</a>
<a href="author.html#25551">[ author ]</a>
</LI>
</UL>
</body></html>