2013アプリケーションスコープ外部コンテンツタイプODATAスロットリング

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/94647

  •  10-12-2019
  •  | 
  •  

質問

OData外部コンテンツタイプ(アプリ自体の内部)を使用している2013 SharePoint-Hosted Appを持っています。データが少ないほどうまく機能しますが、より大きな結果で、OData呼び出しは絞られているというエラーメッセージを与えています。

<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2146232832, Microsoft.SharePoint.SPException</m:code>
<m:message xml:lang="en-US">
OData Service Connector has throttled the response. The response from OData Service contains more than '3000000' bytes. The maximum amount of data that can be read through OData Service Connector is '3000000'. The limit can be changed via the 'Set-SPBusinessDataCatalogThrottleConfig' cmdlet.
</m:message>
</m:error>
.

私はこの記事を読んでください。"rel=" nofollow "> http://blogs.msdn.com/b/bcs/archive / 2010/02/16/bcs-powershell-introduction-and-throttle-management.aspx

この記事を読んだ後は、このPowerShellを使用してODataサイズとタイムアウトのスロットルを無効にしました:

$bdcProxy = Get-SPServiceApplicationProxy | where {$_.GetType().FullName -eq ('Microsoft.SharePoint.BusinessData.SharedService.' + 'BdcServiceApplicationProxy')}
$odataRule = Get-SPBusinessDataCatalogThrottleConfig -Scope OData -ThrottleType Size -ServiceApplicationProxy $bdcProxy
Set-SPBusinessDataCatalogThrottleConfig -Identity $odataRule -Enforced:$false
$odataRule = Get-SPBusinessDataCatalogThrottleConfig -Scope OData -ThrottleType Timeout -ServiceApplicationProxy $bdcProxy
Set-SPBusinessDataCatalogThrottleConfig -Identity $odataRule -Enforced:$false
.

私もWCFの範囲のためにそれを実行した。

しかし私はまだ同じエラーメッセージを入手します。農場内のすべてのマシンも実行後に完全に再起動されました。何か他に何のアイデアも、チェックすること、何でも?

役に立ちましたか?

解決

I know this is an old question, but I recently had the same problem so I thought I'd post my solution for anyone else who finds this post.

Basically, I ran into the exact same problem, I followed the very limited information available and nothing seemed to change. So I opened a support case with Microsoft and this is a known issue. The workaround/correct procedure is to use the -FileBacked parameter on the Get-SPBusinessDataCatalogThrottleConfig command. The documentation on TechNet isn't super helpful for the parameter, stating:

Requests the throttling configuration for file backed metadata catalogs.

So in the case of this question changing the command to be:

$odataRule = Get-SPBusinessDataCatalogThrottleConfig -FileBacked -Scope OData -ThrottleType Size -ServiceApplicationProxy $bdcProxy
Set-SPBusinessDataCatalogThrottleConfig -Identity $odataRule -Enforced:$false

That worked for me.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top