0

如果您在开发环境中使用更大的外部列表(超过 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
4

1 回答 1

0

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

于 2014-08-18T14:43:18.663 回答