//string connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\\Pro\\edu.mdb;Persist Security Info=True;Password=1111;";

连接Access报“无法启动应用程序。工作组信息文件丢失,或是已被其它用户以独占方式打开。”

改成以下解决:

string connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\\Pro\\edu.mdb;Jet OLEDB:Database Password=1111;";

 

补充:没有密码的数据连接

string connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:\\Pro\\edu.mdb;Persist Security Info=True;";

相关文章:

  • 2022-01-08
  • 2021-09-24
  • 2021-04-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案