472,371 Members | 1,522 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 software developers and data experts.

Problems with ODBC access since XP SP2 upgrade

I've got an app written with Access XP that was deployed 2 years ago
using a PostgreSQL backend database through an internet connection.
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.

What happened in SP2 that's preventing remote ADODB connections?
Nov 13 '05 #1
1 2483
Windows XP SP2 included a large new security component. My understanding is
that some of it can be tweaked. A google on Windows XP SP2 security should
turn up more information than you could ever wish to know.
Darryl Kerkeslager
"Randall Perry" <rg*@systame.com> wrote in message
news:fa**************************@posting.google.c om...
I've got an app written with Access XP that was deployed 2 years ago
using a PostgreSQL backend database through an internet connection.
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.

What happened in SP2 that's preventing remote ADODB connections?

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tom D. | last post by:
I just got a new computer. I transfered my web site files over and setup my access database system ODBC driver. I've compared settings on both computers. But when I run my web site code on new...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
8
by: Philip Wright | last post by:
I am trying to connect to a DB2 v7.2 database from Lotus 123 v9.8 on a Windows XP Pro machine. I have the Software Development Client installed on the XP machine and have run the Client...
12
by: Remco Groot Beumer | last post by:
Hello all, Currently we are implementing an Access database which has to send some (not much) data over a WAN. We are using an Access front end and an Access back end. Basicly the front end runs...
1
by: Harmony407 | last post by:
Hello: Our organization uses MS Access to store all of our members information. Our primary database computer is running on Windows 98. This is where the main database exists. The MS Access...
2
by: monnomiznogoud | last post by:
Ok, my problem is the following: I have very complicated Access 97 databases that link through ODBC to Sybase databases. Now in some of the forms controls I had queries that used as "where...
7
by: RichT | last post by:
I have just installed on my PC Access 2003 - currently SP2. I have also installed an Ingres ODBC set of drivers which work fine using a VB5 program that I wrote and execute on the same PC. I am...
2
by: teddysnips | last post by:
One of our clients has reported a problem. Everything was working fine on Monday, but since Tuesday all is going wrong. The sysadmin assures me that there have been no changes to the network, or...
1
by: steven_nospam at Yahoo! Canada | last post by:
I am a UNIX person (not much experience with MS Access) who during a recent upgrade on an IBM RS/6000 server had to convert our system due to an upgrade to a new software revision. The old...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.