[Mono-dev] SybaseClient TDS and Sybase 11 Language error
monodanmorg at yahoo.com
Fri Jun 2 14:20:23 EDT 2006
Is there a bug in Bugzilla for this already? If not, can you add the bug to http://bugzilla.ximian.com/ to make sure the patch does not get lost?
Good to see that someone can use Sybase 11 databases with System.Data.SybaseClient. I will need to update the mono' wiki about that.
Do you use Sybase ASA too? If yes, maybe you can debug why SQL Anywhere does not work with System.Data.SybaseClient.
By the way, we use unified diffs. I think this is turned on via -u when using diff.
----- Original Message ----
From: Dan Mullineux <Dan at nadx.co.uk>
To: mono-devel-list at lists.ximian.com
Sent: Thursday, June 1, 2006 9:04:57 PM
Subject: [Mono-dev] SybaseClient TDS and Sybase 11 Language error
Whilst spiking a proof of concept of mono on Sybase 11 I couldnt connect
to the server
I tracked it down to tds.language="us_english", this errors in the
Mono.Data.SybaseClient.SybaseException: Internal error occurred while
cant work out why, because its the default language on the server.
Still by allowing tds.language=null before connecting everything is ok,
have not checked this on newer versions of sybase.
so from revision 61396. in mono.myrealbox.com
Tds.cs - protected void SetLanguage (string language)
< language = "us_english";
> language = null;
SybaseConnection.cs - private void SetProperties (NameValueCollection
> parms.Language = null;
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list