pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedHow remove stale DSN ?
10+ messages / 7 participants
[nested] [flat]
* How remove stale DSN ?
@ 2005-11-09 20:53 Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` Re: How remove stale DSN ? George Weaver <gweaver@shaw.ca>
2005-11-10 07:51 ` Re: How remove stale DSN ? Zahid Khan <khanzahid235@yahoo.com>
2005-11-12 18:00 ` Re: How remove stale DSN ? P.M <pmdanger@yahoo.com>
0 siblings, 3 replies; 10+ messages in thread
From: Andreas @ 2005-11-09 20:53 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I upgraded to PG 8.1 and therfore uninstalled PG 8.0.4 and every older
psqlODBC version from my win2000 "development" box.
I had several DSNs for playing around that were mostly just there
collecting dust.
Now I find that I can't open their configuration dialog nor can I delete
them because the associated driver isn't there anymore.
Is there a way to force the removal out of Windows 2000's DSN manager ?
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
@ 2005-11-09 21:30 ` George Weaver <gweaver@shaw.ca>
2005-11-09 23:57 ` Re: How remove stale DSN ? Andreas <maps.on@gmx.net>
2 siblings, 1 reply; 10+ messages in thread
From: George Weaver @ 2005-11-09 21:30 UTC (permalink / raw)
To: Andreas <maps.on@gmx.net>; pgsql-odbc
----- Original Message -----
From: "Andreas" <maps.on@gmx.net>
> Hi,
>
> I upgraded to PG 8.1 and therfore uninstalled PG 8.0.4 and every older
> psqlODBC version from my win2000 "development" box.
>
> I had several DSNs for playing around that were mostly just there
> collecting dust.
> Now I find that I can't open their configuration dialog nor can I delete
> them because the associated driver isn't there anymore.
>
> Is there a way to force the removal 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")?
George
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` Re: How remove stale DSN ? George Weaver <gweaver@shaw.ca>
@ 2005-11-09 23:57 ` Andreas <maps.on@gmx.net>
2005-11-10 00:46 ` Re: How remove stale DSN ? Hélder M. Vieira <hmv@mail.telepac.pt>
2005-11-10 14:33 ` Re: How remove stale DSN ? Greg Campbell <greg.campbell@us.michelin.com>
0 siblings, 2 replies; 10+ messages in thread
From: Andreas @ 2005-11-09 23:57 UTC (permalink / raw)
To: George Weaver <gweaver@shaw.ca>; +Cc: pgsql-odbc
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-{
Cheers
Andreas
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` Re: How remove stale DSN ? George Weaver <gweaver@shaw.ca>
2005-11-09 23:57 ` Re: How remove stale DSN ? Andreas <maps.on@gmx.net>
@ 2005-11-10 00:46 ` Hélder M. Vieira <hmv@mail.telepac.pt>
2005-11-10 01:09 ` Re: How remove stale DSN ? Andreas <maps.on@gmx.net>
1 sibling, 1 reply; 10+ messages in thread
From: Hélder M. Vieira @ 2005-11-10 00:46 UTC (permalink / raw)
To: pgsql-odbc
>> 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-{
I had the same problem and found a quick and dirty workaround that seems to
work...
I just created a new DSN linked to the new driver and named it exactly as
the old one. I expected some sort of "Invalid name, try another" warning,
but the old DSN was simply overwritten by the new one.
I don't recommend this kind of tricks, but when one is really desperate...
Helder M. Vieira
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` Re: How remove stale DSN ? George Weaver <gweaver@shaw.ca>
2005-11-09 23:57 ` Re: How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-10 00:46 ` Re: How remove stale DSN ? Hélder M. Vieira <hmv@mail.telepac.pt>
@ 2005-11-10 01:09 ` Andreas <maps.on@gmx.net>
0 siblings, 0 replies; 10+ messages in thread
From: Andreas @ 2005-11-10 01:09 UTC (permalink / raw)
To: "Hélder M. Vieira" <hmv@mail.telepac.pt>; +Cc: pgsql-odbc
Hélder M. Vieira wrote:
>> Probaply this stuff is stored somewhere in the registry. =8-{
>
>
> I just created a new DSN linked to the new driver and named it exactly
> as the old one. I expected some sort of "Invalid name, try another"
> warning, but the old DSN was simply overwritten by the new one.
> I don't recommend this kind of tricks, but when one is really
> desperate...
There are things in this world that make you wonder ...
Thanks !
It aparently worked :)
... Andreas
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` Re: How remove stale DSN ? George Weaver <gweaver@shaw.ca>
2005-11-09 23:57 ` Re: How remove stale DSN ? Andreas <maps.on@gmx.net>
@ 2005-11-10 14:33 ` Greg Campbell <greg.campbell@us.michelin.com>
1 sibling, 0 replies; 10+ messages in thread
From: Greg Campbell @ 2005-11-10 14:33 UTC (permalink / raw)
To: George Weaver <gweaver@shaw.ca>; +Cc: pgsql-odbc
Regedit
\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
ODBC.INI contains data source names/DSNs - corresponding to the ODBC Administrator SYSTEM DSN tab
ODBCINST.INI contains driver versions registrations
\HKEY_CURRENT_USER\SOFTWARE\ODBC --or-- \HKEY_USER\%user_id_key%\SOFTWARE\ODBC
ODBC.INI contains data source names/DSNs - USER
At the momemnt I cannot remember if other registry keys are involved so this information definitely comes
with no implied warranties.
Andreas wrote:
> 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-{
>
> Cheers
> Andreas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
Attachments:
greg.campbell.vcf (text/x-vcard, 239B) download
begin:vcard
fn:Greg Campbell
n:Campbell;Greg
org:Michelin North America - US5 Lexington;ENG-ASE
email;internet:greg.campbell@us.michelin.com
title:ASE Systems Engineer
tel;work:803-951-5561/x75561
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
@ 2005-11-10 07:51 ` Zahid Khan <khanzahid235@yahoo.com>
2 siblings, 0 replies; 10+ messages in thread
From: Zahid Khan @ 2005-11-10 07:51 UTC (permalink / raw)
To: pgsql-odbc
Hi,
Yes i think you can try removing your DSN from "C:\WINDOWS\ODBC.INI"
Thx
Zahid Khan
Andreas <maps.on@gmx.net> wrote:
Hi,
I upgraded to PG 8.1 and therfore uninstalled PG 8.0.4 and every older
psqlODBC version from my win2000 "development" box.
I had several DSNs for playing around that were mostly just there
collecting dust.
Now I find that I can't open their configuration dialog nor can I delete
them because the associated driver isn't there anymore.
Is there a way to force the removal out of Windows 2000's DSN manager ?
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
@ 2005-11-12 18:00 ` P.M <pmdanger@yahoo.com>
2 siblings, 0 replies; 10+ messages in thread
From: P.M @ 2005-11-12 18:00 UTC (permalink / raw)
To: pgsql-odbc
Yes, go to registry
in HKLM there are 2 keys ODBC and ODBC.INI,
just check there.
HTH,
Maileen
--- Andreas <maps.on@gmx.net> wrote:
> Hi,
>
> I upgraded to PG 8.1 and therfore uninstalled PG
> 8.0.4 and every older
> psqlODBC version from my win2000 "development" box.
>
> I had several DSNs for playing around that were
> mostly just there
> collecting dust.
> Now I find that I can't open their configuration
> dialog nor can I delete
> them because the associated driver isn't there
> anymore.
>
> Is there a way to force the removal out of Windows
> 2000's DSN manager ?
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map
> settings
>
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
@ 2005-11-10 08:20 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 10+ messages in thread
From: Dave Page @ 2005-11-10 08:20 UTC (permalink / raw)
To: Andreas <maps.on@gmx.net>; George Weaver <gweaver@shaw.ca>; +Cc: 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.
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: How remove stale DSN ?
@ 2005-11-10 08:30 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 10+ messages in thread
From: Dave Page @ 2005-11-10 08:30 UTC (permalink / raw)
To: Dave Page <dpage@vale-housing.co.uk>; Andreas <maps.on@gmx.net>; George Weaver <gweaver@shaw.ca>; +Cc: pgsql-odbc
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 10 November 2005 08:21
> To: Andreas; George Weaver
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] How remove stale DSN ?
>
>
> Also, there will be a single value corresponding to each DSN under the
> 'ODBC Data Sources' key. Delete that as well.
Let me clarify that - delete the single value, not the entire ODBC Data
Sources key.
Regards Dave
^ permalink raw reply [nested|flat] 10+ messages in thread
end of thread, other threads:[~2005-11-12 18:00 UTC | newest]
Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-09 20:53 How remove stale DSN ? Andreas <maps.on@gmx.net>
2005-11-09 21:30 ` George Weaver <gweaver@shaw.ca>
2005-11-09 23:57 ` Andreas <maps.on@gmx.net>
2005-11-10 00:46 ` Hélder M. Vieira <hmv@mail.telepac.pt>
2005-11-10 01:09 ` Andreas <maps.on@gmx.net>
2005-11-10 14:33 ` Greg Campbell <greg.campbell@us.michelin.com>
2005-11-10 07:51 ` Zahid Khan <khanzahid235@yahoo.com>
2005-11-12 18:00 ` P.M <pmdanger@yahoo.com>
2005-11-10 08:20 Re: How remove stale DSN ? Dave Page <dpage@vale-housing.co.uk>
2005-11-10 08:30 Re: How remove stale DSN ? Dave Page <dpage@vale-housing.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox