"Could not find installable ISAM" 使用 OLEDB

"Could not find installable ISAM" using OLEDB

我正在尝试连接到 Access 数据库并将数据转换为 CSV,但我收到了错误

Could not find installable ISAM

这是我的连接字符串:

string connectionStringMSAccess = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source='" + System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location), @"database\whitelist.mdb") + "';Extended Properties=text;HDR=Yes;FMT=Delimited";

有什么问题吗?

从连接字符串中删除 ;Extended Properties=text;HDR=Yes;FMT=Delimited 参数。打开与 .mdb 文件的连接时,它们不适用。