Results 1 to 8 of 8

Thread: Problems with MS Access using ADO

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    77

    Problems with MS Access using ADO

    There isn't any problem when i run the program using the MS access 97 file format . But after converting the ms access file to MS access 2000, and i run the program, there is an error saying "Run time error '-2147467259 (80004005)': Unrecognized database format 'c:\windows\desktop\ADO\db1.mdb'. May i know this problem is due to what reason ???

    For your information i am using ADO to connect to the access database ..

  2. #2
    Member
    Join Date
    Jul 2001
    Location
    Grenada
    Posts
    38
    have you considered that perhaps your ado drivers need updating. it could be the problem

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    77
    Do u know the exact url that i can find the latest ADO drivers ??

  4. #4
    Member
    Join Date
    Jul 2001
    Location
    Grenada
    Posts
    38
    http://www.microsoft.com/data/download.htm

    took me less than one minute to find on a 56k connection. you should try msdn search sometime after all that is what it is there for

  5. #5
    New Member
    Join Date
    Feb 2002
    Posts
    6
    Have you tried changing your connection provider from Jet 3.51 to Jet 4.0? I had the same difficulty with an Access 2000 db.
    A wise man once said"
    "Who me?"

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    77
    I have set the database password for my ms access file.
    What is the code that i need to use to open the database ???

    mCN.ConnectionString = "Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & strPath & ";PWD=123"

    I have tried using the code above, but there is an error msg saying "Run time error, Could not find installable ISAM". May i know this problem is due to what reason ???

  7. #7
    New Member
    Join Date
    Feb 2002
    Posts
    6
    I checked the msdn site and found this article for your error message: http://msdn.microsoft.com/library/de...ootingtips.asp Not sure if it will help. It almost sounds as if Jet 4.0 is not loaded.
    Last edited by medaugh; Mar 4th, 2002 at 07:17 AM.
    A wise man once said"
    "Who me?"

  8. #8
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Hi

    Passworded Access Dbs were discussed on a previous thread.

    Use the thread search (see top of window) and have a look for password access mdb and see ... I think if was a property of the connection that had to be added.

    Regards

    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width