SQLite Database Connection with Report Designer

I have Sqlite3 database with .dbc extension which is password protected. I am running VB.NET 2019 Community Edition.


I want to connect my sqlite3 database to Report Designer to report i.e add new data dource. I am unable to to do.

Windows 10 + VS2019 Community Edition.

My Project Language is Visual Basic .Net

Kindly guide step by step.

Comments

  • Build started...

    1>------ Build started: Project: FastReport.SQLite, Configuration: Debug Any CPU ------

    1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Microsoft.Common.props(33,3): warning MSB4011: "C:\Program Files (x86)\FastReports\FastReport.Net Trial\Extras\Connections\Directory.Build.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\FastReports\FastReport.Net Trial\Extras\Connections\FastReport.SQLite\FastReport.SQLite.csproj (55,3)". This is most likely a build authoring error. This subsequent import will be ignored.

    1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4678,5): error MSB3021: Unable to copy file "C:\Program Files (x86)\FastReports\FastReport.Net Trial\Extras\Connections\..\..\FastReport.Editor.dll" to "bin\Debug\FastReport.Editor.dll". Access to the path 'bin\Debug\FastReport.Editor.dll' is denied.

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  • Hello!

    Install the FastReport connector package for SQLite into your project.

    Register the connector plug-in in the project/designer (using `FastReport.Utils.RegisteredObjects.AddConnection(typeof(SQLiteDataConnection))` at runtime, or via `File -> Options -> Plugins` in the Standalone Designer).

    If a password is set via SQLCipher / SEE, the standard unencrypted SQLite provider will not open the file; in this case, either pass the connection string with the encrypted provider build, or open the .dbc file in your VB.NET code using the appropriate provider and pass the populated DataSet to `report.RegisterData(ds)`.

This discussion has been closed.