[Mono-dev] Connection to a sybase ASA database

Mads Bondo Dydensborg mbd at dbc.dk
Mon Dec 11 01:48:32 EST 2006

fredag 08 december 2006 17:44 skrev Daniel Morgan:
> No one is maintaining the Mono.Data.TdsClient.
> Mono.Data.SybaseClient might be better.  Both of these
> including System.Data.SqlClient use Mono.Data.Tds
> which implements the TDS protocol.

OK - I will try those instead.

> What do you mean it does not work?  connecting,
> selecting data, what?  How are you connecting?  Are
> you using a specific port number or not?  The provider
> may not be defaulting the TCP/IP port you expect.

It appears not to correctly pass on the database name (asademo in my example), 
even though the code looks quite reasonable (that is, the mono Tds.cs code).

> It helps to provide a stack trace.  Error messages. 
> Connection string info.  Of course, you can rename any
> hostname, ip address, user id, and password info.

I did supply very little information - perhaps to little - but I was only 
really interessted in knowing if it was the right approach.

It is not easy for me to figure out from the webpages, which method to use to 
access a Sybase SQL AnyWhere installation, so I was mostly interessted in 
checking if I had the right approach. Apparently not, so I will check the 
SybaseClient instead. If I can not make that work, rest assured I will bug 
you with more information ;-)

Thanks, and regards,


> --- Mads Bondo Dydensborg <mbd at dbc.dk> wrote:
> > (I am reposting this to the dev list, as I can see
> > from google that earlier 
> > discussions on Sybase have taken place on the dev
> > list).
> > 
> > Hi there
> > 
> > I am trying to use the information (example program,
> > mainly) found on 
> > 
> > http://www.mono-project.com/TDS_Generic
> > 
> > to connect to at Linux SyBase SQL Anywhere 9.0.2
> > server.
> > 
> > However, I can not seem to make it work...
> > 
> > Is this the right approach at all to do this?
> > 
> > I could use about any kind of advice at this point.
> > 
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com

Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34

More information about the Mono-devel-list mailing list