[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 =
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 =
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 =

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

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

Thanks in advance.


On Thu, 2004-12-16 at 10:17 +0100, Aleksandar Dezelin wrote:
> Daniel Morgan wrote:
>  > 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.
>  >
> I've tried that and it worked for me. You must also use=20
> Mono.Data.Tds.dll.
> I think it's little bit buggy.
> Cheers
> Aleksandar Dezelin
> --
> Linux is like wigwham - no windows, no gates, and apache inside...
Mark Gimelfarb <mark@dawebber.com>

Mono-list maillist  -  Mono-list@lists.ximian.com