.Net Development Issues

From: "Peck, Brian" <brian(dot)peck(at)lmco(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: .Net Development Issues
Date: 2008-02-11 19:17:28
Message-ID: 18E2675C0D478E4494108B55120A61AF12707873@emss01m15.us.lmco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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=PostgreSQ
L30W" (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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-02-11 19:38:14 Re: Language Code to Language name conversion for use in pg_ts_config?
Previous Message Josh Hayes-Sheen 2008-02-11 19:13:00 Language Code to Language name conversion for use in pg_ts_config?