[Sqlite3]connection string's connection pool parameter throws an error

Source: Internet
Author: User
Tags sqlite database

The recent use of the SQLite database in. NET has found that. NET drivers are doing well, and encryption is implemented. So want to add a password to their database, the result, many experiments have failed:

Linked to the database, and then ChangePassword all executed successfully, but again linked to open the database error: "File is encrypted or was not a database"

Online search for a long time without solution. After finally found and the official website example of the only difference is that my connection string is more "pooling=true;" (first from the Internet), the value of this connection pool is changed to False (or can be removed),

Perform the encryption again and test, pass!

[Sqlite3]connection string's connection pool parameter throws an error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.