SharePoint Study Notes-splist-external list errors caused by BCS throttling limit throttling

Source: Internet
Author: User

When an external list is created through BCS and connected to the orderdetails table of the northwind database, an error message is displayed:

"Unable to display this Web part. to troubleshoot the problem, open this web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint designer. if the problem persists, contact your web server administrator."

 

:

This is because the data row of the imported data table exceeds the default throttling limit (2000 by default) of BCS, so the above error message is displayed.
The solution is also very simple, that is, to modify the default throttling value. Here, we increase it to 40000.

Start-> All Programs-> Microsoft SharePoint 2010 products-> SharePoint 2010 management Shell

(Set-spbusinessdatacatalogthrottleconfig)

(Get-spbusinessdatacatalogthrottleconfig)

Ps zl: \> $ proxy = Get-spserviceapplicationproxy | where {$ _-match "business data connectivity service "}

Ps zl: \> Get-spbusinessdatacatalogthrottleconfig-scope database-throttletype items-serviceapplicationproxy $ proxy

Ps zl: \> $ defathrothrottleconfig = Get-spbusinessdatacatalogthrottleconfig-scope database-throttletype items-serviceapplicationproxy $ proxy

Ps zl: \> $ defathrothrottleconfig

Ps zl: \> set-spbusinessdatacatalogthrottleconfig-default 40000-identity $ defathrothrottleconfig-maximum 1000000

Ps zl: \> $ customthrottleconfig = Get-spbusinessdatacatalogthrottleconfig-scope database-throttletype items-serviceapplicationproxy $ proxy

Ps zl: \> $ customthrottleconfig

:

Then go back to the SharePoint website and you can see that the data is properly displayed:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.