Sybase ODBC probs

Posted on 2006-05-17
Last Modified: 2008-01-09
I am using Patterson Dental's Eaglesoft program that uses a sybase database.  I am frequestly getting ODBC errors that read :

sybase)(odbc driver)(adaptive server anywhere) unable to connect to database server: specified database is invalid.

I also get other errors that are similar.  
I am using XP SP2 and windows small Buisness server with ISA.  I have put the EagleSoft in as an exemption on the ISA firewall clients, turned off all power management (set it to always on) and checked the DSN, they look fine.

ANy ideas?

Question by:bwalker9
    LVL 38

    Expert Comment

    by:Jim P.
    Do you have the database installed as a service and always up?

    Author Comment

    The company did the install, but I assume so.  Should I check under services and "database name"?  If that is not it what else could be going on?
    LVL 38

    Expert Comment

    by:Jim P.
    Check the services -- It may say something like "Adaptive Sever Anywhere -- DBName".

    Also go into regedit, and dump the ODBC key for the the database.  Make sure that you take out/mask the password.
    LVL 4

    Accepted Solution

    You don't say exactly what ODBC driver you're using, or what Sybase database you're trying to connect to, but the error is fairly straightforward:

    ODBC thinks you asked to connect to a particular database, yet the server you connected to doesn't have that database.

    If you're connecting to Sybase ASE, we would check the databases in the server.

    If you're connecting to Sybase ASA or Sybase IQ, even though the server and the database are kinda the same thing, it's possible for them to be named differently. You might think you're connecting to one when you should be connecting to the other, etc.

    I guess either way we need to know exactly what Sybase product (and version) you're trying to connect to, because then we can give you more specific guidance as to how to check the server and database names, and how to set those correctly in your ODBC connection.

    If your ODBC data source is a User DSN, drop it and recreate it as a System DSN. Some applications have problems with User DSNs as they're visible only to the Windows user profile that created them.

    Hope that will answer your query.

    Chetan Sachdeva
    LVL 38

    Expert Comment

    by:Jim P.
    No objections.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
    Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now