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