Database Connector has throttled the response. The response from database contains more than ‘2000’ rows – error on external list in SharePoint

By default, SharePoint will try to fetch 2000 rows for external list, and in case you get this error, the only way is to increase default settings by simple Powershell command in a few easy steps.

Error:
Database Connector has throttled the response. The response from database contains more than ‘2000’ rows. The maximum number of rows that can be read through Database Connector is ‘2000’. The limit can be changed via the ‘Set-SPBusinessDataCatalogThrottleConfig’ cmdlet.

Solution:

  1. Log in to SharePoint server
  2. Start SharePoint Management Shell as administrator (right-click, run as administrator)
  3. Execute the following command: Get-SPServiceApplicationProxy
  4. Note the ID value for “Business Data Con” application
  5. Execute the following:  $serviceapp = Get-SPServiceApplicationProxy -Identity 9b2e386e-ffee-455f-a416-302ff0aed069 (replace identity ID with your value from previous step)
  6. Execute the following command:  Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy $serviceapp | Set-SPBusinessDataCatalogThrottleConfig -Maximum 1000000000 -Default 500000
  7. Restart IIS (iisreset /noforce)

 

How to restore deleted subsite in SharePoint 2013?

Deleted subsites not going in Recycle Bin? Yes, unfortunately it is true. If you delete subsite and try to restore from end user recycle bin, the operation will fail beacuse there isn`t such item in trash library. But there is a solution. You can find those deleted subsites on the following URL:

 

http://server/_layouts/15/AdminRecycleBin.aspx?View=2

 

View=2 switches to view that contains deleted sites and can be used for restore actions

Cannot find any matching endpoint – WCF connection in SPD2013

When creating a WCF connection in SPD 2013, you may face the problem with the following error: “Cannot find any matching endpoint configuration”. The problem is service endpoint URL address.

If you are connecting to ASMX based web service, the “Service Endpoint URL” is the ASMX service url. For example, if the ASMX service is hosted at http://server/service.asmx then the values for “Service Metadata URL” and “Service Endpoint URL” are as follows:

Service Metadata URL – http://server/service.asmx?wsdl
Service Endpoint URL – http://server/service.asmx