[Mono-list] Swap out M$'s System.Data.SqlClient and substituteMono's System.Data.SqlClient

Daniel Morgan danielmorgan@verizon.net
Thu, 16 Dec 2004 23:24:30 -0500


You need Mono.Security too.

If you are running it on Windows, you will need Mono.Security.Win32 as =
well.
This assembly platform invokes into Windows Crypto API.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Mark Gimelfarb
Sent: Thursday, December 16, 2004 10:28 AM
To: mono-list@ximian.com
Subject: Re: [Mono-list] Swap out M$'s System.Data.SqlClient and
substituteMono's System.Data.SqlClient


I would also like to know what you mean by a little bit buggy.

Right now, the bugs I'm experiencing with the M$'s implementation are
preventing me from deploying a mission-critical apps. For those of you
familiar with the problem, I'm talking about General Network Errors and =
a
situation where MS's SqlClient drops the connection when it receives
ACK+RESET bits set on the packet, in the case when the response is
broken into several packets. So far, M$'s response was to set the
CommandTimeout to 7200, which is definitely is a workaround, not a =
solution.

I would rather use Mono's implementation, because of the managed =
TdsClient,
rather than M$'s reliance on dbnetlib.

When I tried to compile the latest CVS System.Data under cygwin, it =
turned
out that I also needed System.Security in addition to Mono.Tds. Is that =
also
a requirement? I wonder if I should just get the latest stable DLLs from =
the
Windows installer of Mono? I'd rather use the CVS version, if I can =
convince
the build scripts to build it for me :)

Thanks in advance.

Regards,
	Mark.




On Thu, 2004-12-16 at 10:17 +0100, Aleksandar Dezelin wrote:
> Daniel Morgan wrote:
>=20
>  > Sure.  You can build it with csc and run it on .NET.
>  >
>  > You will need Mono.Data.Tds.dll too which implementes the TDS=20
> protocol in  > 100% C#.  >
>  > If System.Xml.dll and System.EnterpriseServices.dll do not work for =

> you, you
>  > may need to use Mono's too.
>  >
>=20
> I've tried that and it worked for me. You must also use=20
> Mono.Data.Tds.dll.
>=20
> I think it's little bit buggy.
>=20
>=20
> Cheers
> Aleksandar Dezelin
>=20
>=20
> --
> Linux is like wigwham - no windows, no gates, and apache inside...
>=20
>=20
>=20
--=20
Mark Gimelfarb <mark@dawebber.com>

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list