Re: How remove stale DSN ?

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas" <maps(dot)on(at)gmx(dot)net>, "George Weaver" <gweaver(at)shaw(dot)ca>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: How remove stale DSN ?
Date: 2005-11-10 08:20:46
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Andreas
> Sent: 09 November 2005 23:58
> To: George Weaver
> Cc: pgsql-odbc(at)postgresql(dot)org
> Subject: Re: [ODBC] How remove stale DSN ?
> George Weaver wrote:
> > ----- Original Message ----- From: "Andreas" <maps(dot)on(at)gmx(dot)net>
> >
> >> Is there a way to force the removal of DSNs out of Windows
> 2000's DSN
> >> manager ?
> >
> >
> > Have your tried deleting the .dsn files directly (typically in
> > "C:\Program Files\Common Files\ODBC\Data Sources")?
> No because I didn't know of them.
> Now I checked but this directory is empty. There aren't any
> *.dsn files
> on C: at all.
> Probaply this stuff is stored somewhere in the registry. =8-{

It is. Check under HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.ini. There's a
key for each DSN which contains the config values. Just delete the key.
Also, there will be a single value corresponding to each DSN under the
'ODBC Data Sources' key. Delete that as well. User DSNs are in the same
place, but under HKEY_CURRENT_USER.

Hack your registry at your own risk. Backup first. Etc. etc.

Regards, Dave.

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2005-11-10 08:25:54 Re: Invisible tables in Access 2000
Previous Message Zahid Khan 2005-11-10 07:51:28 Re: How remove stale DSN ?