ACE.OLEDB.12.0 provider issues on Windows Core machines

Manasa Purkar 1 Reputation point
2021-10-12T07:43:44.78+00:00

I have a Windows Core 2019 and 2016 machines.
I want to read Access DB on this machine.
When I have MS Access 2010 Redistributable installed (https://www.microsoft.com/en-in/download/details.aspx?id=13255) then I am able to open the access db file and read from it.
However , when I have MS Access 2016 Redistributable installed (https://www.microsoft.com/en-us/download/details.aspx?id=54920) , I am unable to open connection to the database.

I am using this connection string to connect to my access db.
Provider=Microsoft.ACE.OLEDB.16.0;Data Source=c:\FData.mdb;Jet OLEDB:Engine Type=5;

The application making the call just crashes and no exception is thrown.

  • Additionally , I tried to connect to this access DB file via UDL.While accessing this file from UDL using the ACE 12.0 provider , also causes the UDL to crash.
  • The drivers are seen in the Datasources checked via odbcad32.
  • I have a x86 application and checked the 32-bit UDL and Datasources through 32 bit odbcad32.

My query is , do I need to install anything additional to make this work ?
The connection string mentioned in both the URL's for the redistributable mentions connection string to be this : Provider=Microsoft.ACE.OLEDB.16.0;Data Source=c:\FData.mdb;Jet OLEDB:Engine Type=5;**. I am using the same during both my access db installers.

- Can I use any other provider thats default installed on the core machine to access db ? ( e.g Jet Provider installed on windows machines ) ?

  • Do we have any provider logs or events that can be checked to troubleshoot the issue
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,205 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,391 Reputation points
    2021-10-15T08:45:50.233+00:00

    Hello

    Thank you for your question.

    from the error it seems that it due to compatibility issue with application to MS Access 2016 Redistributable.

    Alternatively, I recommend that you post your question on the windows 11 forum, because there you will be greeted by an engineer from the windows 11 team, who has more recent information to pass on to you, to do this just use the link below and select the top option called "Ask a question" and describe the entire problem, including images:

    https://learn.microsoft.com/en-us/answers/products/dotnet

    https://learn.microsoft.com/en-us/answers/topics/c++.html

    ---------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.

  2. Eric Hallander 1 Reputation point
    2022-08-03T14:16:40.74+00:00

    Was there some resolution found? I am reading this issue as you are attempting to open an Access database using the 365 drivers and the ADO library, and when you execute the Open call the program simply exits, as in there is something that can't be caught because it's trying to load something that it can't find. I am getting the same thing on a 2019 windowesservercore container.

    0 comments No comments