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

582 строки
28 KiB
HTML

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