[freetds] Freetds + MS SQL Server 2000 on unix
age85 at gmx.de
age85 at gmx.de
Thu Feb 9 03:17:54 EST 2006
you are right it was the wrong port (1272 is the port from the mom server).
After setting the right port, i got drouble with the authentication - but
this was solved on the sql server site. Now I'm happy for the moment and can
try to access the odbc source with tcl, but thats another hard story...
So thank you very much for your help.
> --- Ursprüngliche Nachricht ---
> Von: "Lowden, James K" <LowdenJK at bernstein.com>
> An: "FreeTDS Development Group" <freetds at lists.ibiblio.org>
> Betreff: Re: [freetds] Freetds + MS SQL Server 2000 on unix
> Datum: Wed, 8 Feb 2006 12:16:37 -0500
> > From: age85 at gmx.de
> > Sent: Wednesday, February 08, 2006 9:51 AM
> > i try to access an MS SQL Server 2000 database with the latest
> > stable freetds release. I've configured and installed freetds with
> > the following commandline parameters --with-unixodbc=/usr/local
> > and --with-tdsver=8.0 everything ends fine. Then I've configured
> > the SQL Server to use the SQL Server and Windows Authentication.
> > But if I try:
> > tsql -H 192.168.100.166 -p 1272 -U Administrator
> > im getting the password prompt, after entering the password im
> > getting:
> > Msg 20020, Level 9, State 0, Server OpenClient, Line 0 Unknown
> > marker Msg 20014, Level 9, State 0, Server OpenClient, Line 0 Login
> > incorrect. There was a problem connecting to the server
> > I also tried: tsql -S myserver -U Administrator
> > with the following in freetds.conf:
> > [myserver]
> > host = 192.168.100.166
> > port = 1272
> > tds version = 8.0
> > But getting the same error message (after password entering).
> "Unknown Marker" normally means you're using the wrong TDS protocol
> version (5.0 when you want 8.0, say). But you seem to have done
> everything correctly.
> Try setting the TDSDUMP envrironment variable and look at the log. It
> should tell you what server it's *really* connecting to and what TDS
> version it's using. If it's not 8.0, maybe your freetds.conf file isn't
> in the right place?
> Long shot: if 1272 isn't the right port, maybe there's another tcp
> server, not SQL Server, that is replying with a non-TDS message.
> The information contained in this transmission may be privileged and
> confidential and is intended only for the use of the person(s) named
> above. If you are not the intended recipient, or an employee or agent
> for delivering this message to the intended recipient, any review,
> distribution or duplication of this communication is strictly prohibited.
> If you are
> not the intended recipient, please contact the sender immediately by reply
> and destroy all copies of the original message. Please note that we do not
> account orders and/or instructions by e-mail, and therefore will not be
> for carrying out such orders and/or instructions. If you, as the intended
> of this message, the purpose of which is to inform and update our clients,
> and consultants of developments relating to our services and products,
> would not
> like to receive further e-mail correspondence from the sender, please
> "reply" to the
> sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas,
> New York,
> NY 10105.
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
More information about the FreeTDS