1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

ODBC SYstem Data Source cleanup

Discussion in 'Software Development' started by DarrenW, Oct 6, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. DarrenW

    DarrenW Thread Starter

    Joined:
    Jul 19, 2000
    Messages:
    94
    I need to create a system DSN that links a program to a database (to keep it simple). I've already done this, however I have moved the database location to another computer. It is imperative that I recreate the system DSN with the exact same database name as before. The problem is: even though I've removed the previous dsn, when I go to create the new one it denies me by saying this database name has already been used. Sure enough the database name still exists in the drop-down list of database names in the create databse dialog box. I've checked the ODBC.ini files and manually removed any references to the database name I want to re-use to no avail. How can I re-use (or clear) a previously used database name?:confused:
     
  2. eddie5659

    eddie5659 Moderator Malware Specialist

    Joined:
    Mar 19, 2001
    Messages:
    33,381
    Moved you to Developoment,a s its more a programming thing.

    I think its Pearl

    eddie
     
  3. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    I believe there are also entries in the registry for ODBC. If it is a Jet DB or ISAM I don't think you can create a system ODBC to a database on another PC or server.
     
  4. DarrenW

    DarrenW Thread Starter

    Joined:
    Jul 19, 2000
    Messages:
    94
    Yes, I checked the registry but found nothing. I believe the settings must be retained in the database itself. (This was a Pervasive 2000i database). I finally gave up and went back to the SQL Server database I was using. Uninstalling and re-installing pervasive didn't work either. I'm stumped.
     
  5. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Registry key:
    HKEY_CURRENT_USER\Software\ODBC\ODBC.INI
     
  6. DarrenW

    DarrenW Thread Starter

    Joined:
    Jul 19, 2000
    Messages:
    94
    Thanks. What I had meant was I found the ODBC settings in the registry and found nothing that showed the databse name I wanted to remove. Even a search of the registry found no match to the database name.
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - ODBC SYstem Data
  1. Techrajxx
    Replies:
    1
    Views:
    274
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/169977

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice