473,655 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\Postgre sCNI.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.connectio n
conn.Open "File Name=C:\Program Files\Common Files\ODBC\Data
Sources\Postgre sCNI.dsn"

to

Set conn = New ADODB.connectio n
conn.Open "FileDSN=C:\Pro gram Files\Common Files\ODBC\Data
Sources\Postgre sCNI.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 2562
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.co m> wrote in message
news:fa******** *************** ***@posting.goo gle.com...
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\Postgre sCNI.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.connectio n
conn.Open "File Name=C:\Program Files\Common Files\ODBC\Data
Sources\Postgre sCNI.dsn"

to

Set conn = New ADODB.connectio n
conn.Open "FileDSN=C:\Pro gram Files\Common Files\ODBC\Data
Sources\Postgre sCNI.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
3574
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 machine I get... Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Not a valid password.
11
3750
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 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
8
3480
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 Configuration Assistant and registered the SAMPLE and my TEST databases with the ODBC Administrator as System DSN data sources. Everything seems fine, but when I try to connect to "External Tables" through 123 my DB2 databases are not listed under available...
12
4318
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 local, but at the end of the session the front end needs to write the data to the back end on the WAN. The responsible IT manager asked me to use a ODBC linkage between the database, since this sends smalles packages of data (which minimizes the...
1
2412
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 version we are running is MS Access 95, V7. I know it is very old, but the organization is afraid to update to a newer version for fear of losing data. So, I must work with what I have.
2
1969
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 clause" parameters form field values; For example: select foo from bar where a_colmun = !!
7
4572
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 trying to connect from my Access database through ODBC to another RDBMS (Ingres). After I create my ACCESS database I want to import the data from my Ingres database into my Access database. To do this I have gone to the File --> Get External Data...
2
6625
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 the servers. Three applications, one back-end database server (SQL Server 2000 with all service packs etc.). APP 1: Access 2000 database APP 2: ASP.NET (VS 2003)
1
5524
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 software was ISAM-based and relied on a product called Transoft U/SQL to create "simulated" ODBC connections to the data for querying and reporting. The new software is using an Informix RDBMS, and so the ODBC driver must be flipped to use the Informix...
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8710
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7310
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.