应用敏感度标签的 Azure 函数给出以下错误:
错误:发生一个或多个错误。 (无法打开数据库,检查文件夹权限。SQLite 错误:14 '无法打开数据库文件',CorrelationId.Description=PolicyProfile)System.IO.IOException:无法打开数据库,检查文件夹权限。 SQLite 错误:14“无法打开数据库文件”
我在文件夹 - C:\home\site\wwwroot ools 下添加了 sqlite.dll uisng Advanced Tools(KUDU);我仍然收到 SQLite 错误:14 '无法打开数据库文件'。
如有任何帮助,我们将不胜感激。
我已将 CacheStorageType.OnDiskEncrypted 更改为 CacheStorageType.InMemory 修复了此问题。
var profileSettings = new FileProfileSettings(mipContext, CacheStorageType.InMemory, new ConsentDelegateImplementation())