Results 1 to 2 of 2
  1. #1
    AleksP is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Apr 2019
    Posts
    2

    MS Access database through ADO

    Hello!



    Following software is installed:

    1) Windows 8.1 64-bit, processor x64.
    2) Office professional plus 10, 32-bit version.
    3) Mathworks Matlab R2017b x64.

    In order to open MS Access database through ADO the following code is used:

    conn = actxserver('ADODB.Connection');
    conn.CursorLocation = 'adUseClient';
    conn.Open('Provider=Microsoft.Jet.O LEDB.4.0;Jet OLEDB:Engine Type=4;Password="";User ID=Admin;Data Source=G:\Database\1.mdb;Mode=Share Exclusive;Jet OLEDBatabase Password=xxx;Jet OLEDB:Encrypt Database=True');

    Error message is retrieved after code execution:

    Error using COM.ADODB_Connection/Open
    Invoke Error, Dispatch Exception:
    Source: ADODB.Connection
    Description: Provider cannot be found. It may not be properly installed.
    Help File: C:\WINDOWS\HELP\ADO270.CHM
    Help Context ID: 12ee4f

    I tried to install AccessDatabaseEngine_X64, but got the following error message.



    Please, help to find the solution of the problem?

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    You've already described the problem. You have 32-bit Access so can't install a 64-bit component.
    But why are you trying to install the database engine at all? You already have it as part of Access

    Why use ADO? If you want to connect your current database to an external database, just use the linked table manager to create linked tables.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 05-31-2018, 12:16 PM
  2. Replies: 6
    Last Post: 08-08-2016, 06:42 AM
  3. Replies: 4
    Last Post: 05-18-2015, 09:36 AM
  4. Replies: 2
    Last Post: 06-03-2014, 10:27 AM
  5. Migration from Access 2003 database to Access 2007 database.
    By cyclus2 in forum Import/Export Data
    Replies: 1
    Last Post: 09-10-2010, 11:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums