Skip to content

SQLite Interop Error #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cemremengu opened this issue Aug 18, 2015 · 9 comments
Closed

SQLite Interop Error #847

cemremengu opened this issue Aug 18, 2015 · 9 comments

Comments

@cemremengu
Copy link

I am doing an MVC6 project with .NET Framework 4.6. The ORM is NHibernate and I am trying to setup SQLite as the test database. I have installed System.Data.SQLite from nuget however I am getting the error

{"Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

Tried also with DNX451 and I am getting the same error. Some sources say I need to set the copy local property of the sqlite reference to true but there is no way to set it in this new project layout.

@SergeySagan
Copy link

I am also getting this error trying to run Hangfire in my MVC 6 DNX 4.6 app.

@Eilon
Copy link
Member

Eilon commented Feb 3, 2016

@divega @rowanmiller

@divega
Copy link
Contributor

divega commented Feb 3, 2016

System.Data.SQLite is not our provider. I am not sure but this could be a known DNX issue. Cc @moozzyk and @anurse in case it rings a bell.

In the meanwhile @cemremengu what OS are you getting the error on?

@divega
Copy link
Contributor

divega commented Feb 3, 2016

Just noticed @cemremengu posted this originally a long time ago. @serjster could you provide more details of what are you doing and the error you are getting?

@SergeySagan
Copy link

I am trying to use Hangfire in my app with SQLite and it gave me this error in an MVC 6 app with DNX 4.6 chosen (Hangfire is not available yet for 5.0) I did end up getting past this issue by manually copying the SQLite Interop dll from the build folder down to the bin folder with the SQLite Core dll. Not sure what needs to be fixed or configured so that this manual copying would not be required.

@cemremengu
Copy link
Author

Hello @divega I am using Windows 7. I didnt try recently but seems like the issue is on going. I couldnt find any solution at that time so I switched to sql server express which works fine.

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@davidalpert
Copy link

davidalpert commented Dec 31, 2017 via email

@davidalpert
Copy link

davidalpert commented Dec 31, 2017 via email

@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants