C#访问Access数据库提示未安装ISAM
解决办法
1、在前面加上Jet OLEDB:,如: Jet OLEDB:Database Password='zt'
<add name="ConStrOleDb" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\DB\ztdata.mdb;Persist Security Info=True;Database Password=zt;"
providerName="System.Data.OleDb" />
修改为
<add name="ConStrOleDb" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\DB\ztdata.mdb;Persist Security Info=True;Jet OLEDB:Database Password=zt;"
providerName="System.Data.OleDb" />
![](https://img2020.cnblogs.com/blog/1034557/202004/1034557-20200422105855891-959891525.png)