System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 0c36a089d58152cbda652577a1b82f3386a62a53
Title: Can not find provider name System.Data.SQLite.EF6.SQLiteProviderFactory
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: VsDesigner Resolution: Need_More_Info
Last Modified: 2015-04-03 01:22:40
Version Found In: 1.0.96.0
User Comments:
anonymous added on 2015-03-15 08:47:04:
I have installed the new version of SQLite via nuget, the version 1.0.96.0 and I wanted to use it with EF6.

In the app.config file add the following lines:

  <system.data>
    <DbProviderFactories>
      <remove invariant="System.Data.SQLite.EF6" />
      <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6, Version=1.0.96.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" />
    </DbProviderFactories>
  </system.data>

But wueh I try to use the application I get this error:

Unable to determine the provider name for provider factory of type System.Data.SQLite.SQLiteFactory.

The case is that if I run the test that is insider the zip of the binaries that I can find in the download section in this web, which app.config has the same configuration, it works fine.



Thank so much.

mistachkin added on 2015-03-15 23:02:08:
Which NuGet package (or packages) did you install?