在 SharePoint Server 2013 中使用 Oracle 数据源配置 PowerPivot 服务时出错

症状

尝试在 SharePoint Server 2013 中使用 Oracle 数据源配置 PowerPivot 计划的刷新时,在数据源凭据下添加与 Oracle 相关的 SSID 时,会看到以下错误:

提供的安全存储目标应用程序配置不正确或不存在。

统一日志记录服务 (ULS) 还将显示以下详细信息:

02/06/2019 01:13:15.80 w3wp.exe (Servername:0x85F8) 0x41E0 SharePoint Server Database fdz2 VerboseEx SQL IO Statistics: Procedure proc_sss_GetRestrictedCredentials, Table 'SSSApplication'. Scan count 0, logical reads 4, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0. 423dbd9e-5d81-e070-ca0c-21267ad6b241

01:13:15.80 w3wp.exe (Servername:0x85F8) 0x41E0 Secure Store Service Secure Store elm4 High SQL command failed: Sproc name: proc_sss_GetRestrictedCredentials, Application Id: PPIVORA, Error code: 80630001, Error message: Credentials were not found for the current user within the target application 'PPIVORA'. Please set the credentials for the current user. 423dbd9e-5d81-e070-ca0c-21267ad6b241
01:13:15.80 w3wp.exe (Servername:0x85F8) 0x41E0 Secure Store Service Secure Store efp6 Medium GetRestricted

凭据失败,出现以下异常:

System.ServiceModel.FaultException`1[Microsoft.Office.SecureStoreService.Server.SecureStoreServiceCredentialsNotFoundFault]: Credentials were not found for the current user within the target application 'PPIVORA'. Please set the credentials for the current user. (Fault Detail is equal to Microsoft.Office.SecureStoreService.Server.SecureStoreServiceCredentialsNotFoundFault). 423dbd9e-5d81-e070-ca0c-21267ad6b241

原因

PowerPivot 和场管理服务帐户必须存在于安全存储服务 (SSS) 中安全 TargetId的成员组中。

解决方案

第三方数据源(如 Oracle)需要两个 SSD (一个使用 Oracle 凭据,另一个使用 Windows 凭据) 。

执行以下步骤以查看错误:

  1. 浏览到 PowerPivot 库
  2. 找到要为其 计划数据刷新的工作簿。
  3. 选择“ 管理数据刷新”。
  4. 选择“ 使用管理员配置的数据刷新帐户”。
  5. 选择“使用安全存储服务 (SSS) 中保存的凭据进行连接”以登录到数据源
  6. 在“SSS ID”框中输入用于查找凭据的 ID。

由于服务器场帐户与 PowerPivot 帐户不同,因此出现错误的原因是缺少权限。

更多信息

在 SSS 中创建的目标 ID 应为“组”类型。

仍然需要帮助? 请转到 SharePoint 社区