【问题标题】:Set-SPBusinessDataCatalogThrottleConfig : Cannot bind parameter 'Identity'Set-SPBusinessDataCatalogThrottleConfig:无法绑定参数“身份”
【发布时间】:2014-10-11 02:14:41
【问题描述】:

如果您在开发环境中使用更大的外部列表(超过 2000 个项目),它可以完美运行,但是当您在生产环境中工作时,它会抛出错误 “无法显示此 Web 部件。要解决此问题,请在 Microsoft SharePoint Foundation 兼容的 HTML 编辑器(如 Microsoft SharePoint Designer)中打开此网页。如果问题仍然存在,请联系您的 Web 服务器管理员。相关 ID:...。 ……”。 所以开始努力通过powershell修复BCS限制。 当我在 powershell 中输入以下命令时,我在 cmd 中出现错误。有什么想法吗?

PS C:\Program Files\Nintex\Nintex Workflow 2010> Set-SPBusinessDataCatalogThrott
leConfig -Identity Get-SPBusinessDataCatalogThrottleConfig -Scope ThrottleType I
tems Database-GUID-ServiceApplicationProxy 5222b2db-fdd1-43f5-accb-7f039155f654-
8000-default maximum 6000
Set-SPBusinessDataCatalogThrottleConfig : Cannot bind parameter 'Identity'. Can
not convert the "Get-SPBusinessDataCatalogThrottleConfig" value of type "System
.String" to type "Microsoft.SharePoint.BusinessData.SharedService.ThrottleConfi
g".
At line:1 char:50
+ Set-SPBusinessDataCatalogThrottleConfig -Identity <<<<  Get-SPBusinessDataCat
alogThrottleConfig -Scope ThrottleType Items Database-GUID-ServiceApplicationPr
oxy 5222b2db-fdd1-43f5-accb-7f039155f654-8000-default maximum 6000
    + CategoryInfo          : InvalidArgument: (:) [Set-SPBusinessDataCatalogT
   hrottleConfig], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.SharePo
   int.BusinessData.SharedService.SPSetSPBusinessDataCatalogThrottleConfig

【问题讨论】:

    标签: powershell sharepoint bcs


    【解决方案1】:

    乍一看,您的 PowerShell 语法似乎存在一些问题。您将另一个 cmdlet 指定为 -Identity 参数的值,这将不起作用。 Sharepoint 并不是我真正的专长,但在 msdn 博客上由 lionelro 撰写的 this article 看起来是个不错的起点。特别是因为文章开头描述了您在生产环境中在线出现的问题。希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 2014-12-02
      • 1970-01-01
      • 1970-01-01
      • 2021-11-22
      • 1970-01-01
      • 2019-08-26
      • 1970-01-01
      • 2021-08-04
      • 1970-01-01
      相关资源
      最近更新 更多