Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I am trying to get an ODBC source on a computer to recognize the database the ODBC source points to.

What I have tried:

I've set up the ODBC source, I have the database installed and in place on the server and I have the put some things into the program but can not get it to work.
OriginalGriff 31-Jan-23 13:15pm    
"It doesn't work" is probably the most useless problem report we get - and we get it a lot. It tells us nothing about what is happening, or when it happens.
So tell us what it is doing that you didn't expect, or not doing that you did.
Tell us what you did to get it to happen.
Tell us any error messages.
Use the "Improve question" widget to edit your question and provide better information.
[no name] 31-Jan-23 13:33pm    
You've made no mention of the "ODBC Data Sources" in the Control Panel's Admin tools; I suggest you start there and "test" the connection. ("What you've tried" as stated is not in the right order).
Dave Kreskowiak 31-Jan-23 15:59pm    
You haven't provided anything that can be used to diagnose your problem. We need SOMETHING to work with, like how you setup the ODBC connection in the ODBC Data Sources dialog, either the 32-bit or 64-bit dialog, or the connection string you're using in your app, the code being used, whether you're compiling for AnyCPU, x86, or x64, ... nothing.

Until you provide those details, there is nothing anyone can do to help you.
Graeme_Grant 31-Jan-23 16:44pm    
Your question is no different to: My car won't start, how do I fix it... We need more information...
Member 15627495 1-Feb-23 1:50am    
you have to add 'odbc' as reference in the menu project.

then you must use the good connection string ( to launch your connection to db )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900