在SharePoint 2010中配置BCS行数限制时出现问题
尝试配置BCS的默认行数限制,以允许2000条以上的记录.
I was trying to configure the default number of rows limit for the BCS to allow more than 2000 records.
命令我用了.遵循中的步骤
The command I used. Following the steps in
http://blogs.msdn.com/b/sridhara/archive/2010/03/10/bcs-and-external-list-learning-part1.aspx 是
http://blogs.msdn.com/b/sridhara/archive/2010/03/10/bcs-and-external-list-learning-part1.aspx is,
$ bdcAppProxy = Get-SPServiceApplicationProxy |其中{$ _-与业务数据连接"匹配}}
> Set-SPBusinessDataCatalogThrottleConfig -Identity $ throttleDb -maximum 10000 -default 8000
我遇到的错误
Get-SPBusinessDataCatalogThrottleConfig:对于ThrottleScope:数据库和ThrottleType:项目,不存在节流规则.
第1行char:40
+ Get-SPBusinessDataCatalogThrottleConfig <<<
+ Get-SPBusinessDataCatalogThrottleConfig <<<< -Scope Database -ThrottleType Items -ServiceApplicationProxy $bdcAppProxy
+ CategoryInfo
+ CategoryInfo : InvalidData: (Microsoft.Share...gThrottleConfig:SPGetSPBusinessDataCatalogThrottleConfig) [Get-SPBusinessDataCatalogThrottleConfig], InvalidOperationException
+ FullyQualifiedErrorId:Microsoft.SharePoint.BusinessData.SharedService.SPGetSPBusinessDataCatalogThrottleConfig
+ FullyQualifiedErrorId : Microsoft.SharePoint.BusinessData.SharedService.SPGetSPBusinessDataCatalogThrottleConfig
是 任何人都可以告诉我我做错了什么,或者是否有其他方法可以做到这一点,我真的很感激.
Is anybody indicate me what I am doing wrong or if there is any other approach to accomplish this I really appreciated.
感谢
Ady
我在TEST和DEV服务器场中遇到了相同的问题.
I had the same issue in TEST and DEV farms.
TEST服务器场是多服务器服务器场.事实证明(基于详细日志),我正在运行的APP Server中的安全令牌无法正常工作.转到IIS>展开"Sharepoint Web服务"选择"securitytokenserviceapplication". 然后从右侧面板中单击浏览.它应该打开http://localhost:32843/SecurityTokenServiceApplication,但它不返回xml服务,然后运行以下powershell命令进行重新配置.
TEST farm is multi-servers farm. It turns out (based on the verbose log) that security token from the APP Server that I was running was not working. Go to IIS > Expand "Sharepoint web services" select "securitytokenserviceapplication" and click browse from the right panel. It should open http://localhost:32843/SecurityTokenServiceApplication but it doesn't return xml service then run the following powershell command to reprovision.
sts = Get-SPServiceApplication | ?{
sts=Get-SPServiceApplication | ?{
_.typename -match'security'}
_.typename -match 'security'}