Skip to Content.
Sympa Menu

freetds - RE: [freetds] freeTDS connect problem with SQLServer

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] freeTDS connect problem with SQLServer
  • Date: Wed, 24 Dec 2003 11:34:05 -0500

> From: Steven Orton [mailto:sorton9999 AT usa.net]
> Sent: December 24, 2003 9:01 AM
>
> ****** Exception from client ******
> Connecting with: "DSN=MyFreeTDS;UID=smmttdev;PWD=smmttdev1"
>
> <PDIConnection::DataConnect> -- SQL Exception: Failed to connect to
> datasource: [FreeTDS][SQL Server]Unable to connect to data source
> SQL CMD: "SELECT * FROM vw_platform_base_params WHERE
> db_context_ID = 2"
>
> <PDIResultSet::Execute> -- No valid connection!
> ***********************************
>
> ****** freeTDS Dump ***************
> Starting log file for FreeTDS 0.62.dev.20031218
> on 2003-12-23 21:42:15 with debug level 99.
> iconv to convert client-side data to the "ISO-8859-1" character set
> 21:42:15.615244 tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 21:42:15.615272 IP address pointer is NULL
> 21:42:15.615292 Server SYBASE not found!
> ***********************************

The "Server SYBASE not found" error almost always means a misconfigured
odbc.ini, because FreeTDS was asked to open its default server, which is
almost certainly not the one you had in mind.

Your odbc.ini has:

[MyFreeTDS]
DeferLongFetch = Yes
JetFix = No
Description = freeTDS connection to CPCS2 SQLServer
Options =
UserName = smmttdev
ServerType = SQLServer 2000
Driver = /home/smmtt/lib/libtdsodbc.so
Database = SMMTT3Targets
ReadOnly =
NoLoginBox =
FetchBufferSize = 60

There's no Server or Servername entry to tell FreeTDS what machine is meant
by "MyFreeTDS".

The snapshot you have includes a User Guide with a new ODBC section. Please
have another look at that and tell me if it's still not clear.

--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information 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
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page