Microsoft 信息保护 - 使用 Azure Function App 应用敏感度标签 - SQLite 错误:14“无法打开数据库文件”

问题描述 投票:0回答:1

应用敏感度标签的 Azure 函数给出以下错误:

错误:发生一个或多个错误。 (无法打开数据库,检查文件夹权限。SQLite 错误:14 '无法打开数据库文件',CorrelationId.Description=PolicyProfile)System.IO.IOException:无法打开数据库,检查文件夹权限。 SQLite 错误:14“无法打开数据库文件”

我在文件夹 - C:\home\site\wwwroot ools 下添加了 sqlite.dll uisng Advanced Tools(KUDU);我仍然收到 SQLite 错误:14 '无法打开数据库文件'。

如有任何帮助,我们将不胜感激。

sharepoint azure-functions microsoft-information-protection mip-sdk
1个回答
0
投票

我已将 CacheStorageType.OnDiskEncrypted 更改为 CacheStorageType.InMemory 修复了此问题。

var profileSettings = new FileProfileSettings(mipContext, CacheStorageType.InMemory, new ConsentDelegateImplementation())

© www.soinside.com 2019 - 2024. All rights reserved.