?
Solved

ODBC driver error

Posted on 2011-03-25
1
Medium Priority
?
1,061 Views
Last Modified: 2012-05-11
hi,
I have created a new sybase database dbsyb.db on my server machine with sybase central 9 and its run correctly.
Now I'd like to connect at dbsyb.db from my client workstation via ODBC
SERVER SIDE:
I create a new ODBC with these parameters:
driver ODBC: Adaptive server anywhere 7.0
ODBC
Data source name: dbsyb
Description: database sybase
Checked: Microsoft applications and prevent driver.........
Describe cursor behavior: If required

LOGIN
Checked: Supply user ID and password

DATABASE
Server name: dbsyb
Start line: -p 4096 -x tcpip -d
Database name: dbsyb

NETWORK
Checked: TCP/IP

ADVANCED
CHECKED: Allow multiple record....

CLIENT SIDE:
same ODBC parameters but the driver ODBC is "Adaptive server anywhere 9.0"

dbsyb respond on the port 2638 and I tried telnet ipserver 2638 and run correctly
BUT when I try Test Connection I get error:
database server not found
The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER: 03.52

What I wrong?
0
Comment
Question by:ralph_rea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 17

Accepted Solution

by:
BudDurland earned 2000 total points
ID: 35221861
No real need to set up an ODBC on the server (unless you have a program running there that requires it).  My personal preference is to give the server and the database similar but different names.  Are you starting the database from the command line, or are you using Sybase Central to configure a service?

The command line parameters would look kinda like this: -n dbsybsrv -x TCPIP -p 4096 <datafile name> -n dbsyb

When configuring the client-side ODBC, on the 'database' tab, put dbsybsrv in the 'server' line and dbsyb in the 'database' line.  On the 'network' tab, check 'tcpip' and enter 'host=server address',  'server address' can be either the IP address, or a FQDN for the server hosting the database.

For testing purposes, you can put a username/password in the appropriate places on the 'login' tab, and then click 'test connection' in the 'ODBC' tab.

Hope this helps
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question