SQLite attempt to write a readonly database error

前端 未结 2 1301
谎友^
谎友^ 2021-02-19 11:11

I have a console application that populates a SQLite database. When the application runs by itself, I don\'t get any errors. If I run multiple instances of the application, wher

2条回答
  •  被撕碎了的回忆
    2021-02-19 11:38

    Could also be that The database file is not supported by the MigrationAssembly.

    The same exception is thrown when the EF tries to migrate on a file expected to be a SQLite database which is fi. a text file.

提交回复
热议问题