OleDbConnection gets “External component has thrown an exception.”

后端 未结 6 1812
予麋鹿
予麋鹿 2020-12-20 11:44

I\' m using a Windows Forms application to export data to excel.

Application is built both x64 and x86.

So both version of Microsoft Access Databse Engine mu

6条回答
  •  一整个雨季
    2020-12-20 12:31

    I had the same error. It was fixed when I changed Provider=Microsoft.ACE.OLEDB.12.0; to Provider=Microsoft.ACE.OLEDB.16.0; I was running Office 2016.

提交回复
热议问题