Solved

ODBC driver error

Posted on 2011-03-25
1
1,053 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
1 Comment
 
LVL 17

Accepted Solution

by:
BudDurland earned 500 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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