> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Andreas
> Sent: 09 November 2005 23:58
> To: George Weaver
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] How remove stale DSN ?
>
> George Weaver wrote:
>
> > ----- Original Message ----- From: "Andreas" <maps.on@gmx.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.