首页 > 学院 > 开发设计 > 正文

c# 指定的存储区提供程序在配置中找不到,或者无效

2019-11-17 02:42:31
字体:
来源:转载
供稿:网友

c# 指定的存储区提供程序在配置中找不到,或者无效

<system.data>    <DbPRoviderFactories>      <remove invariant="System.Data.SQLite"/>      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>    </DbProviderFactories>  </system.data>
打開app.config,複製上面一段放在<connectionStrings>上面運行可能會出現“找不到或無法加載已註冊的.net framework data provider”只要引用sqlite的dll文件就行了
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表