Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

VS 2012 Entity Framework Exception #3

Closed
moljac opened this issue Jan 28, 2014 · 5 comments
Closed

VS 2012 Entity Framework Exception #3

moljac opened this issue Jan 28, 2014 · 5 comments
Labels

Comments

@moljac
Copy link

moljac commented Jan 28, 2014

{"The Entity Framework provider type 'System.Data.SQLite.SQLiteProviderServices, System.Data.SQLite.Linq' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SQLite' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information."}

Is DB backend required?
I would prefer no db, but git-db in the play.

thanks

@Aimeast
Copy link
Owner

Aimeast commented Jan 28, 2014

First, you should download and Copy associated Sqlite or MsSql driver with EF to bin folder if any, see [Installation](Copy associated Sqlite or MsSql driver with EF to bin folder if any).

You can download the System.Data.SQLite from http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

Normally, There is no official SQLite Provider for EF 6.x. But I built the SQLite Provider for EF 6.x. Please download it from http://git.53wb.com/download/

Also, you can try a compiled Git Candy from download page.

@moljac
Copy link
Author

moljac commented Jan 29, 2014

Hi

Installation link - 404.

where do I put binaries?

Database is mandatory?

regards

Mel

@Aimeast
Copy link
Owner

Aimeast commented Jan 30, 2014

Installation link - 404.

Sorry for a bad link. Installation link should be https://github.com/Aimeast/GitCandy#installation

where do I put binaries?

I am not clear what is you question. GitCandy is a normal ASP.NET MVC application, maybe this line will help with you.

Database is mandatory?

Yes, database is mandatory. Any EF supported database was supported by GitCandy in theory. See Third-Party Database Providers on the Entity Framework (EF) Documentation page. The SQLite and MsSql are recommended.

@moljac
Copy link
Author

moljac commented Jan 30, 2014

binaries location - I meant SQLite and other from http://git.53wb.com/download/ I presume in App_Data or bin?

I would suggest You to put download link on both http://git.53wb.com/ and github

@Aimeast
Copy link
Owner

Aimeast commented Jan 30, 2014

binaries location - I meant SQLite and other from http://git.53wb.com/download/ I presume in App_Data or bin?

The SQLite driver should be put into bin folder.
I updated a new compiled resource 9450591 with all dlls and sqlite database in download page.

In case of exception Could not load file or assembly 'System.Data.SQLite' or one of its dependencies, please replace System.Data.SQLite.dll according to your environments(x86 or x64).

In case of exception Could not load file or assembly 'System.Data.SQLite, Version=1.0.xx.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies, please download a System.Data.SQLite.Linq.dll from download page. Please take care of the version of SQLite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants