on 2012 Jul 26 4:35 PM
None of my workstations can connect to an Adaptive Server Anywhere V9 database. The application connects to the database when executed off the server. All workstations give me an error as follows:
ODBC Connection failed: Database Server not found
Request clarification before answering.
Quicklist of things to check:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and maybe check it's running using dbsrv9.exe and not dbeng9.exe.
Assuming your server is up and running check your connection string includes "Links=tcpip(Host=servername);" if the database server resides on a different subnet to the client.
http://www.connectionstrings.com/sybase-adaptive#p40
I think the provider will normally discover the IP address of a database server on the same subnet but won't be able to on a different subnet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An entire website devoted to connection strings! ...that just made my day ...I will never again feel that I am being too focussed or too specialized 🙂
Something that can quickly help narrow down which of the possible problems Martin and Daz mention apply to your situation is to turn on the odbc driver's logging facility:
This gives detailed information - if the problem isn't then obvious, do post the results here to see if anyone can help further.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.