Keyword not supported: 'failifmissing' exception with dotConnect 5.1.36 and EF 6.0.1 Code-First

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
bairog
Posts: 120
Joined: Mon 29 Apr 2013 09:05

Keyword not supported: 'failifmissing' exception with dotConnect 5.1.36 and EF 6.0.1 Code-First

Post by bairog » Thu 14 Nov 2013 05:40

Hello.
I'm using dotConnect for SQLite 5.1.26 with Entity Framework 6.0.1 Code-First
Devart SQLiteConnectionStringBuilder class creates my connection string like that

Code: Select all

var sb = new SQLiteConnectionStringBuilder();
sb.DataSource = databasePath;
sb.FailIfMissing = true;
return sb.ToString();
So finally I have following connection string
Data Source=d:\\TABLES\\Database.db;FailIfMissing=True
But in runtime I get an exception
Keyword not supported: 'failifmissing'
What is incorrect in my code?

BTW. You can easily get this exception in you append ;FailIfMissing=True to the connection string in my code sample, attached to this my post

UPDATE With today's release 5.1.36 the result is the same..


bairog
Posts: 120
Joined: Mon 29 Apr 2013 09:05

Re: Keyword not supported: 'failifmissing' exception with dotConnect 5.1.36 and EF 6.0.1 Code-First

Post by bairog » Thu 14 Nov 2013 15:13

Ok it's working now.

bairog
Posts: 120
Joined: Mon 29 Apr 2013 09:05

Re: Keyword not supported: 'failifmissing' exception with dotConnect 5.1.36 and EF 6.0.1 Code-First

Post by bairog » Fri 17 Jan 2014 05:26

Hello again.
I've faced this problem again while using Code-First Code-First automatic migrations
Situation is described here


Post Reply