.Net Development Issues - Mailing list pgsql-general

From Peck, Brian
Subject .Net Development Issues
Date
Msg-id 18E2675C0D478E4494108B55120A61AF12707873@emss01m15.us.lmco.com
Whole thread Raw
Responses Re: .Net Development Issues
List pgsql-general

Hey all,

Im 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) wont 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.

- Brian Peck

- 858-795-1398

- Software Engineer

- Lockheed Martin

pgsql-general by date:

Previous
From: Josh Hayes-Sheen
Date:
Subject: Language Code to Language name conversion for use in pg_ts_config?
Next
From: Tom Lane
Date:
Subject: Re: Language Code to Language name conversion for use in pg_ts_config?