[Mono-list] MySQL Connection from .NET Website (David P. Donahue)

caner Sahan canersahan@hotmail.com
Wed, 02 Feb 2005 13:46:05 +0000


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