Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC Mystery

Status
Not open for further replies.

drexen1

MIS
Feb 6, 2003
40
US
I am using a third party application that needs to connect to my Microsoft SQL Database. Everything I launch the application I receive this error message.

“Error in Microsoft Rdo.Connection” An ODBC Error has occurred:
08004: SQL Server Attempt to locate entry in Sysdatabases for database ‘dock03’ by name failed.

I have renamed one of my SQL databases from ‘dock03’ to ‘dock04’. For some reason something in ODBC is still looking for the old database name ‘dock03’

How and what do I need to change so that it is looking for the new database name ‘dock04’?

 
Did you edited the ODBC when you changed the db name? If not you have to go to (win2k) start -> settings -> control panel -> administrative tools -> data sources (odbc) and then find the ODBC used for the connection and click configure to reassign the database.
 
I did not edit the ODBC after I changed the database name because I wasn’t sure which or if there was one setup for it. The strange thing is when I go into Data Sources to modify the ODBC connection, I only see the one default connection listed there (User & System DSN). So I am not sure where it is receiving its ODBC connection information from.
 
It should be there... check all the DSNs in both user and system and even file to see which one is refering to the old name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top