Reputation: 11
Azure function to apply sensitivity label is giving the below error:
Error: One or more errors occurred. (Can't open database, check folder permissions. SQLite error: 14 'unable to open database file', CorrelationId.Description=PolicyProfile)System.IO.IOException: Can't open database, check folder permissions. SQLite error: 14 'unable to open database file'
I added sqlite.dll uisng Advanced Tools(KUDU) under the folder - C:\home\site\wwwroot\tools; still I am getting the SQLite error: 14 'unable to open database file'.
Any assistance would be greatly appreciated.
Upvotes: 0
Views: 137
Reputation: 11
I have changed CacheStorageType.OnDiskEncrypted
to CacheStorageType.InMemory
fixed this issue.
var profileSettings = new FileProfileSettings(mipContext, CacheStorageType.InMemory, new ConsentDelegateImplementation())
Upvotes: 1