Re: How remove stale DSN ?
От | Dave Page |
---|---|
Тема | Re: How remove stale DSN ? |
Дата | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7DED9@ratbert.vale-housing.co.uk обсуждение исходный текст |
Ответ на | How remove stale DSN ? (Andreas <maps.on@gmx.net>) |
Список | pgsql-odbc |
> -----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.
В списке pgsql-odbc по дате отправления: