locked
how to over come this problem ? RRS feed

  • Question

  • User395310 posted

    System.InvalidOperationException Message=You specified a password in the connection string, but the native SQLite library you're using doesn't support encryption. I am using Microsoft.data.Sqlite for SQLite Database connection, but my Database is Created in system.data.sqlite with password.

    Thanks in Advance

    Wednesday, August 12, 2020 6:15 AM

All replies

  • User382871 posted

    SQLite doesn't support encrypting database files by default. Instead, you need to use a modified version of SQLite like SQLiteCrypt.

    Check the tutorial: https://docs.microsoft.com/en-us/dotnet/standard/data/sqlite/encryption?tabs=visual-studio

    Wednesday, August 12, 2020 7:07 AM