Efcore: broadFileSystemAccess for Microsoft.Data.Sqlite

Created on 19 Nov 2020  路  1Comment  路  Source: dotnet/efcore

I'm trying to use an SQlite database that's located in D:\test.db3. My app already has broadFileSystemAccess. It's a kiosk (assigned access) UWP app. Why doesn't this work?

using (var connection = new SqliteConnection("Filename=D:\\test.db3"))
{
        connection.Open();
}

Exception:

Microsoft.Data.Sqlite.SqliteException SQLite Error 14: 'unable to open database file'.

closed-question customer-reported

>All comments

Was this page helpful?
0 / 5 - 0 ratings