Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SQLite DBMS] in 4.2.0-rc.2 JSON issues in ConnectionStrings #7339

Closed
kayagultekin opened this issue Jan 19, 2021 · 2 comments
Closed

[SQLite DBMS] in 4.2.0-rc.2 JSON issues in ConnectionStrings #7339

kayagultekin opened this issue Jan 19, 2021 · 2 comments
Assignees
Milestone

Comments

@kayagultekin
Copy link

Abp 4.2.0-rc.2 > EF Core & MVC

Reproduction steps:

@maliming maliming self-assigned this Jan 19, 2021
@maliming
Copy link
Member

  "ConnectionStrings": {
    "Default": "Data Source=C:\Users\Desktop\database\BookStore.db;Version=3;"
  },

The connection needs to be escaped. C:\\Users\\Desktop\\

@maliming maliming assigned yekalkan and unassigned maliming Jan 20, 2021
@maliming maliming added this to the 4.2-final milestone Jan 20, 2021
@maliming
Copy link
Member

maliming commented Jan 20, 2021

C:\Users\Desktop\src\BookStore.DbMigrator>[INF] ABP CLI (https://abp.io)
[INF] Version 4.2.0-rc.2 (Prerelease)
[INF] Started database migrations...       
[INF] Migrating schema for host database...
Unhandled exception. System.ArgumentException: Connection string keyword 'version' is not supported. For a possible alternative, see https://go.microsoft.com/fwlink/?linkid=2142181.
   at Microsoft.Data.Sqlite.SqliteConnectionStringBuilder.GetIndex(String keyword)

aspnet/Microsoft.Data.Sqlite#406 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants