Posted 28 February 2018, 6:35 am EST
Hi,
FlexReport uses standard ADO.NET mechanism and requires ADO.NET driver to be installed in the system, driver can be downloaded from:
https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
Each ADO.NET driver should be registered, it can be registered:
-) in the machine.config file, in this case it will be available for all applications by default
-) in the application config file, like MyApp.exe.config, for example, in this case it will be available only for this application.
IMO, in your case it will be better to add this key to your app.config file:
<system.data>
<DbProviderFactories>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
</DbProviderFactories>
</system.data>
ADO.NET driver itself is in System.Data.SQLite.dll, so it should be distributed with application.
I have attached sample application it works on my system even if machine.config does not contain entry about SQLite.
WindowsFormsApp1.zip