473,887 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to re-provide password to encrypted linked tables?

I am building an Access 2002 frontend with linked tables to an
encrypted Paradox 7 database. When I first create these linked tables,
I'm asked for the password to the encrypted Paradox database, and the
linked tables are successfully created. I use the data from these
linked tables in several forms.

All works great until I close the Access frontend and open it again.
When I try to use the forms, I get an error message: "Could not decrypt
file." I know that this is because I need to supply the password again
to access the linked tables.

<growling noises> Why doesn't Access just give me a nice little popup
requesting the password like it did the first time I linked the tables?
How can I get Access to give me the chance to type in the password
again so that the linked tables will work?

Or can I somehow pass the password to Access behind the scenes the
first time the user opens a form? Or maybe can I get Access to save the
password from the initial linking so that it's not needed everytime the
frontend is opened?

Note: I'm not connecting to the encrypted database via ODBC (I don't
have the ODBC drivers for Paradox 7). I'm able to initially link the
database tables (read-only) by just browsing to the folder and
providing the password.

I got this database project dropped in my lap when a 'higher paid'
quit. It's a bit over my head, I admit, but I'm pretty tenacious! I'll
very much appreciate any help and advice you all might have to offer.
Thank you, Jill Elaine

Nov 13 '05 #1
2 6016
That noise you hear is me pounding my head against the wall and
wailing, "Why? Why? Why?"

You'd think I'd be celebrating because I've actually fixed the problem
BUT the "fix" (really a workaround) is so MSconvoluted that I think
I'll lose my lunch.

The fix: I already had JET 4 (and Office XP SP3 btw) but I installed
JET SP8 for Windows 2000. I am NOT sure if this really did anything,
but I need to mention it anyway, just in case.

First I deleted all the linked tables to the encrypted Paradox database
that I had previously created.

Then I discovered that I could get the linked tables to work correctly
_IF_ I was asked for the Paradox password when I created the linked
table.

__I had to be sure I was asked for the Paradox password *FOR EACH*
linked table I created!__

If I followed the procedure below, I could close and reopen the Access
database and the linked Paradox tables would open without any errors
(and without requesting the Paradox password).

So, my procedure: I had to open the Access database, create one new
linked table, provide the Paradox password, close the Access database,
open it up again, create the next new linked table, provide the Paradox
password, close the Access database (reiterate until all encrypted
Paradox tables show up as linked tables in Access).

IF I was not asked for the Paradox password when I linked a particular
table, upon first opening Access, that table would throw the error,
"Could not decrypt file", if I tried to open that table before I opened
any "password linked" (for lack of a better term) Paradox tables.
("Password linked" = provided password when creating the link)

Access will allow you to create many linked tables to an encrypted
database at one time, while asking for the password for only the
_FIRST_ linked table you create. The first linked table will be the
only 'password linked' one. Access *appears* to successfully create the
links to the other tables in the encrypted database after you provide
the password for the first link you create, but only the FIRST table
(apparently) is associated with the required password!

This can be very confusing as, if you open the "password linked" table
first, the "non-password linked" tables will open afterwards, but if
you try to open a "non-password linked" table (when you first open
Access), you'll receive the error "Could not decrypt file".

Further information: this issue of "password and non-password linked"
tables (to an encrypted database) is associated with the error message
"Applicatio n-defined or object-defined error" when running the Linked
Table Manager in Access. If you try to update a "non-password linked"
table (and no "password linked" tables have been opened or accessed),
LTM throws that error.

I had a mix of "password and non-password linked" tables in my Access
database, which meant that sometimes the linked tables would work and
sometimes I'd get errors, depending on which linked table I first
accessed! What a nightmare to solve! I found so many related questions
in numerous Access forums...and no documentation on MS Knowledge Base.
Hopefully this 'workaround' will help others with the same problem I
had.

Had to answer my own question! :-)
Jill Elaine

Nov 13 '05 #2
Hi Jill,

It may be a generic assumption in Jet. Jet .mdb and ODBC connections to
say Oracle assume that there is one username/password into a set of
database tables within the same security container. Maybe Jet does this
for Paradox tables as well even though we know that Paradox tables are
exist as physically separate entities on the file system.

Ananda

Jill Elaine wrote:
That noise you hear is me pounding my head against the wall and
wailing, "Why? Why? Why?"

You'd think I'd be celebrating because I've actually fixed the problem
BUT the "fix" (really a workaround) is so MSconvoluted that I think
I'll lose my lunch.

The fix: I already had JET 4 (and Office XP SP3 btw) but I installed
JET SP8 for Windows 2000. I am NOT sure if this really did anything,
but I need to mention it anyway, just in case.

First I deleted all the linked tables to the encrypted Paradox database
that I had previously created.

Then I discovered that I could get the linked tables to work correctly
_IF_ I was asked for the Paradox password when I created the linked
table.

__I had to be sure I was asked for the Paradox password *FOR EACH*
linked table I created!__

If I followed the procedure below, I could close and reopen the Access
database and the linked Paradox tables would open without any errors
(and without requesting the Paradox password).

So, my procedure: I had to open the Access database, create one new
linked table, provide the Paradox password, close the Access database,
open it up again, create the next new linked table, provide the Paradox
password, close the Access database (reiterate until all encrypted
Paradox tables show up as linked tables in Access).

IF I was not asked for the Paradox password when I linked a particular
table, upon first opening Access, that table would throw the error,
"Could not decrypt file", if I tried to open that table before I opened
any "password linked" (for lack of a better term) Paradox tables.
("Password linked" = provided password when creating the link)

Access will allow you to create many linked tables to an encrypted
database at one time, while asking for the password for only the
_FIRST_ linked table you create. The first linked table will be the
only 'password linked' one. Access *appears* to successfully create the
links to the other tables in the encrypted database after you provide
the password for the first link you create, but only the FIRST table
(apparently) is associated with the required password!

This can be very confusing as, if you open the "password linked" table
first, the "non-password linked" tables will open afterwards, but if
you try to open a "non-password linked" table (when you first open
Access), you'll receive the error "Could not decrypt file".

Further information: this issue of "password and non-password linked"
tables (to an encrypted database) is associated with the error message
"Applicatio n-defined or object-defined error" when running the Linked
Table Manager in Access. If you try to update a "non-password linked"
table (and no "password linked" tables have been opened or accessed),
LTM throws that error.

I had a mix of "password and non-password linked" tables in my Access
database, which meant that sometimes the linked tables would work and
sometimes I'd get errors, depending on which linked table I first
accessed! What a nightmare to solve! I found so many related questions
in numerous Access forums...and no documentation on MS Knowledge Base.
Hopefully this 'workaround' will help others with the same problem I
had.

Had to answer my own question! :-)
Jill Elaine

Nov 13 '05 #3

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

Similar topics

4
6436
by: Craig Bailey | last post by:
Anyone recommend a good script editor for Mac OS X? Just finished a 4-day PHP class in front of a Windows machine, and liked the editor we used. Don't recall the name, but it gave line numbers as well as some color coding, etc. Having trouble finding the same in an editor that'll run on OS X. -- Floydian Slip(tm) - "Broadcasting from the dark side of the moon"
1
4105
by: Chris | last post by:
Sorry to post so much code all at once but I'm banging my head against the wall trying to get this to work! Does anyone have any idea where I'm going wrong? Thanks in advance and sorry again for adding so much code... <TABLE border="1" bordercolor="#000000" cellspacing="0"> <TR>
11
4022
by: James | last post by:
My form and results are on one page. If I use : if ($Company) { $query = "Select Company, Contact From tblworking Where ID = $Company Order By Company ASC"; }
4
18552
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function blocks until something.exe terminates. Just what I /don't/ want. (Wouldn't an & be nice here! Sigh) I need something.exe to disconnect and run in the background while I
1
3708
by: John Ryan | last post by:
What PHP code would I use to check if submitted sites to my directory actually exist?? I want to use something that can return the server code to me, ie HTTP 300 OK, or whatever. Can I do this with sockets??
10
4235
by: James | last post by:
What is the best method for creating a Web Page that uses both PHP and HTML ? <HTML> BLA BLA BLA BLA BLA
8
4423
by: Beowulf | last post by:
Hi Guru's, I have a query regarding using PHP to maintain a user profiles list. I want to be able to have a form where users can fill in their profile info (Name, hobbies etc) and attach an image, which will upload the record to a mySql db so users can then either view all profiles or query.. I.e. show all males in UK, all femails over 35 etc. Now, I'm not asking for How to do this but more what would be the best way? I've looked at...
1
3642
by: joost | last post by:
Hello, I'm kind of new to mySQL but more used to Sybase/PHP What is illegal about this query or can i not use combined query's in mySQL? DELETE FROM manufacturers WHERE manufacturers_id NOT IN ( SELECT manufacturers_id FROM products )
3
3496
by: presspley | last post by:
I have bought the book on advanced dreamweaver and PHP recently. I have installed MySQL and PHP server but am getting an error on the $GET statement show below. It says there is a problem with the variable $GET but $GET is not a variable, I thought it came from the page that calls the PHP file? if(($_GET)==""){ this gets an error
2
106632
by: sky2070 | last post by:
i have two file with jobapp.html calling jobapp_action.php <HTML> <!-- jobapp.html --> <BODY> <H1>Phop's Bicycles Job Application</H1> <P>Are you looking for an exciting career in the world of cyclery? Look no further! </P> <FORM NAME='frmJobApp' METHOD=post ACTION="jobapp_action.php"> Please enter your name:
0
9799
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
11173
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10771
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...
1
10877
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10434
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7988
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7143
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();...
2
4239
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3245
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.