On 7/4/2014 10:11 PM, Joe Mistachkin wrote:
William Drago wrote:
"Your project references the latest version of Entity
Framework; however, an Entity Framework database provider
compatible with this version could not be found for your
data connection."
In my end-to-end testing of the System.Data.SQLite 1.0.93.0 /
Entity Framework 6.1 integration, I did not encounter that
particular error message.
I suspect it might be due to "outdated" System.Data.SQLite and/or
Entity Framework assemblies in the project directory somewhere, in
the GAC, or from a previous installation of the System.Data.SQLite
setup package.
I only see 1.0.93.0 in the GAC. How can I purge all previous
SQLite installs (if there are any that I am not aware of)?
Also, check the config files for the project to make sure they look
similar to the ones checked into the repository for the "testef6"
project, paying careful attention to both the
"system.data/DbProviderFactories" and "entityFramework/providers"
sections, e.g.:
https://system.data.sqlite.org/index.html/artifact?ci=trunk&filename=testlin
q/2010/EF6/App.config&ln=6-12
-AND-
https://system.data.sqlite.org/index.html/artifact?ci=trunk&filename=testlin
q/2010/EF6/App.config&ln=16-20
Any extraneous entries in either section should be removed.
I modified my App.config file to match the above. There were
references to SQL Server and the references to SQLite were
did not include the version. I then rebuilt the project,
exited and restarted VS, but I am still getting the same
error message.
BTW, when I installed SQLite, the installer hung for several
minutes before telling me that the install was successful. I
don't know if that is a clue to what the problem might be.
-Bill
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users