Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium



Posted on 2003-03-28
Medium Priority
Last Modified: 2008-02-07
I've a password protected Access db on a remote box.  Using MSAccess to open the DB manually through a UNC works just fine.  However,

OleDbConnection DBConn=new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;"
                                          +"Data Source="+DBFullUNC+";"

results in "Could not find installable ISAM"

Is this complaining about the box the code is running on or the remote box where the mdb is?  Is there some other provider I could use or a connection string parameter I need to add?
Question by:cookre
LVL 22

Author Comment

ID: 8227605
I do note that if I remove the password from the mdb, everything works fine.

Accepted Solution

bibendum95 earned 2000 total points
ID: 8228552
I've connected to secured MDBs, but never any password protected MDBs -- so I may be mistaken, but I thought the database password property was called 'Database Password'. Does it make a difference if you change the last line to read:
       +"Jet OLEDB:Database Password=shhh");
LVL 22

Author Comment

ID: 8228996
Alas, no joy.
'Database Password=shhh;' gives the same result.
Installing the latest MDAC and .NET SP2 had no effect either.

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Expert Comment

ID: 8229340

Bugs: Couldn't Find Installable ISAM
Dev Ashish
  When you try to export/import data from Excel, dBase, Text or some other file type, you might get this error message.  
     A missing file or corrupt registry entry are the usual causes behind this error.  Sometimes, a typical Office Setup does not install these drivers by default.  Re-run the Setup program, and manually select the individual drivers under the Data Access options.  If any of the driver files were missing, they should be copied and registered by the Setup program.

    However, in a few cases, this does not get rid of the error message.   If the driver files are already present on the hard drive,  the registry entries could be corrupt.  

    First try registering the appropriate dll with RegSvr32 (sample steps). If this doesn't work, then try running the setup with some command line arguments:

    Setup /y /r

     If you still experience the same error message, try completely uninstalling Access. Then, search for these files on your hard drive, and rename them.

Msexcl35.dll (Excel) Mstext35.dll (Text)
Msxbse35.dll (dBase) Msxbse35.dll (FoxPro)

Now, re-install Access.
LVL 22

Author Comment

ID: 8229395
You'll also find references to a third variant:

"Can't find installable ISAM"

Each of these deal with the inability to access non-MDB databases by a number of different packages for various causes, none of which, unfortunately, apply here (would that they did).

I get the same result with Access 2000 and 2002 under each of NT, 2K, and XP - and all tests were run on different, non-pristine boxes:

An MDB with no password works fine in all cases (with and without indices), but as soon as a password is added, the .NET code fails (although Access itself has no problem (golly, I wonder why))

LVL 16

Expert Comment

ID: 8229426
and this: specify a database password, not
a user password.  The working code reads:

OleDbConnection perConnection =
    new OleDbConnection ( "Provider=Microsoft.Jet.OLEDB.4.0"
                         +";Data Source=" + Server.MapPath
                         +";Jet OLEDB:Database Password=XxxxxYyyyy"
LVL 22

Author Comment

ID: 8229549
After Ms. Shek's response, I realized I had mis-read your post.  Switching from "pwd=xxx" to "Jet OLEDB..." made it all work.

And for She Who Whacked Me Up Side The Head And Made Me Open My Eyes:

Thanks to all, and to all a good night.

LVL 16

Expert Comment

ID: 8230270
I can't take them point scookie - heart!

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question