OleDbConnection gets “External component has thrown an exception.”

后端 未结 6 1829
予麋鹿
予麋鹿 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:37

    I have both 64 and 32 bit versions, and I had the same problem. I just went to the properties of the project and in the tab Build, I uncheck the box that says Prefer 32-bit.

提交回复
热议问题