I am getting the following error when I run my program:
Devart.Data.Linq.LinqCommandExecutionExecption: Error on opening DbConnection. ---> Devart.Data.SQLiteException: Unable to open database file ---> System.DllNotFoundExeption: Unable to load DLL 'sqlite3': The specified module could not be found.
I have all the references added as needed.
DLLNotFoundException when I run my program
Re: DLLNotFoundException when I run my program
Update:
When I add the sqlite3.dll in the app folder, I don't get the error but my data does not display on my form.
When I add the sqlite3.dll in the app folder, I don't get the error but my data does not display on my form.
Re: DLLNotFoundException when I run my program
Generally, your application should have access to the engine library sqlite3.dll when it is deployed and is used on the computer where there is no engine library sqlite3.dll. You should put it either to the application folder or to a system-wide accessible folder.garling wrote:Devart.Data.Linq.LinqCommandExecutionExecption: Error on opening DbConnection. ---> Devart.Data.SQLiteException: Unable to open database file ---> System.DllNotFoundExeption: Unable to load DLL 'sqlite3': The specified module could not be found.
The sqlite3.dll is included in the dotConnect for SQLite/LinqConnect installation and there are 2 versions available in these folders:
- C:\Program Files (x86)\Devart\dotConnect\SQLite
- C:\Program Files (x86)\Devart\dotConnect\SQLite\x64
Please create and send us a small test project, with which this behaviour is reproducible. This will significantly speed up the process of determining the cause of the issue and finding the solution for it.garling wrote:I don't get the error but my data does not display on my form.
Re: DLLNotFoundException when I run my program
When I run the program on my dev machine it works just fine (In Visual Studio and as a stand alone application). I tried to install and run in a Windows 8.1 (Surface 3) Windwos 10 and a Windows Server 2008 R2, it runs but my dataview shows the headers but no data. It seems like I am missing something on those machines,
Re: DLLNotFoundException when I run my program
Disregard I found the issue, it was a setup file that was not loaded that contained a lookup var for a query.
Re: DLLNotFoundException when I run my program
Glad to see that the issue was resolved.
If you have any further questions, feel free to contact us.
If you have any further questions, feel free to contact us.