Reputation:
Situation:
Question:
Can I find the ODBC connection name in anyway?
Upvotes: 4
Views: 3485
Reputation: 9726
You can use Process Explorer to catch the connection string your program is trying to open. You can find almost everything a program is doing, and you can filter what information is captured/displayed.
Upvotes: 4
Reputation: 30398
I'm not sure I've understood. What exactly happens when you try to run the program? Is the problem that the ODBC connection string was lost because the settings were lost when your machine crashed?
If so I would try the following.
Upvotes: 1
Reputation: 41232
You can probably run an ODBC trace and then look in the log file to see what the attempted name was. Run odbcad32.exe and go to the trace tab and turn it on. Run your app and then look in the log file (probably at the SQLConnect call).
Upvotes: 0