Upgrade to Win XP Service Pak 2 SP2 causes connection failure

From: Randall Perry <rgp(at)systame(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Upgrade to Win XP Service Pak 2 SP2 causes connection failure
Date: 2004-10-20 15:40:49
Message-ID: BD9BFF41.9224F%rgp@systame.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

I've got an app written with Access XP using a PostgreSQL backend internet
connection (using the latest ODBC driver) that was deployed 2 years ago.
Recently a client upgraded to XP Service Pack 2. After the upgrade she was
unable to connect to the remote database, getting the error:

Unable to connect to remote database File Name=C:\Program Files\Common
Files\ODBC\Data Sources\PostgresCNI.dsn Error message: The file is not a
valid compound file.

I did some research and found people recommending the connection string use
'FileDSN=<dsn file>' instead of 'File name=<dsn file>'

So I changed it from:

Set conn = New ADODB.connection
conn.Open "File Name=C:\Program Files\Common Files\ODBC\Data
Sources\PostgresCNI.dsn"

to

Set conn = New ADODB.connection
conn.Open "FileDSN=C:\Program Files\Common Files\ODBC\Data
Sources\PostgresCNI.dsn"

Now the app gives this error:

This file is located outside your intranet or on an untrusted site.
Microsoft Acess will not open the file due to potential security problems.
To open the file, copy it to your machine or an accessible network location.

We've tried turning off the WinXP firewall entirely, adding the server IP to
trusted internet sites, all to no avail.

Any one else run into this?

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2004-10-20 15:44:06 Re: index not used?
Previous Message Tino Wildenhain 2004-10-20 15:35:53 Re: Sequence question

Browse pgsql-odbc by date

  From Date Subject
Next Message Roderick A. Anderson 2004-10-20 18:52:03 Re: Upgrade to Win XP Service Pak 2 SP2 causes connection
Previous Message Taber, Mark 2004-10-19 18:49:47 FW: " CLI describe error: Out of memory while reading tuples."