Hey all,
I’m trying to set up an ODBC connection inside Visual Studio 2005 and getting the error message “[Microsoft ODBC Driver Manager] Data source name not found and no default driver specified”
The confusing part about that message is I already have the ODBC drivers installed and have been connecting to the Database through the same program when run on the command line. But when we brought it into VS2005 it (at run time) won’t connect to the DB.
The string being used is “DRIVER={PostgreSQL Unicode};SERVER=localhost;DATABASE=ASDFS;UID=peckb1;PWD=**;Dsn=PostgreSQL30W” (I replaced the actual password with **, but the real password is supplied in the string.
Anyone have any ideas on how to get it to work inside VS2005? We are mainly doing this for the ability to have a graphical IDE for debugging.
We are using PostgreSQL 8.2.4.
- 858-795-1398
- Software Engineer
- Lockheed Martin