Page 1 of 1

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

Posted: Thu 14 Nov 2013 05:40
by bairog
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..

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

Posted: Thu 14 Nov 2013 14:49
by Shalex

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

Posted: Thu 14 Nov 2013 15:13
by bairog
Ok it's working now.

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

Posted: Fri 17 Jan 2014 05:26
by bairog
Hello again.
I've faced this problem again while using Code-First Code-First automatic migrations
Situation is described here

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

Posted: Fri 17 Jan 2014 15:06
by Shalex