Is it acceptable to use Access Runtime instead of Access Database Engine 2016?

ChiaYuan Lin 10 評価のポイント
2026-03-02T00:59:13.15+00:00

Recently, after either an Office update or a Windows update (we are not sure which one), the Access Database Engine 2016 that we had been using stopped working.

After investigating, we found that support for Access Database Engine 2016 ended last year, and it appears that Microsoft recommends using Access Runtime instead.

However, even after installing Access Runtime, the issue has not been resolved.

Could you please advise on how to fix this issue?

・Environment

OS: Windows 11 (64-bit)

Application: 64-bit application

.NET Framework: 4.8

・Issue Details

We are simply accessing an Excel file using OleDbConnection as shown below.

The connection opens successfully, but when the application is closed, an Application Error is logged in Event Viewer.

string connStr =
    "Provider=Microsoft.ACE.OLEDB.16.0;" +
    "Data Source=\"C:\\Test\\Test.xlsx\";" +
    "Extended Properties=\"Excel 12.0;" +
    "HDR=YES;\"";

using (var conn = new OleDbConnection(connStr))
{
    conn.Open();
}

We would appreciate any guidance on the correct configuration or required components.

開発者テクノロジ | C#
開発者テクノロジ | C#

C 言語ファミリをルーツとし、コンポーネント指向プログラミングのサポートを含む、オブジェクト指向およびタイプセーフのプログラミング言語。


お客様の回答

質問作成者は回答に "承認済み"、モデレーターは "推奨" とマークできます。これにより、ユーザーは作成者の問題が回答によって解決したことを把握できます。