SAP Knowledge Base Article - Public

1915071 - Error "Database Connector Error: ADO Error Code: 0x80072023 Source Provider Description: The size limit for this request was exceeded" in Crystal Reports

Symptom

  • A report created off Active Directory Services returns only 1,000 records in the Crystal Reports.
  • An error "Database Connector Error: ADO Error Code: 0x80072023 Source Provider Description: The size limit for this request was exceeded" is occurred when creating a report off Active Directory Services in Crystal Reports.

Environment

  • Crystal Reports 2008
  • Microsoft Windows 2000
  • Microsoft Windows 2003

Reproducing the Issue

  1. Create a new report in Crystal Reports designer.
  2. Select OLEDB(ADO) connection in Database Expert.
  3. From Provider list select OLEDB Provider for Microsoft Directory Services.
  4. Add the Data Source.
  5. The error message displayed is as shown below:

error.png

Cause

  • MaxPageSize poilcy set by LDAP administrator and by default it is 1000.
  • MaxPageSize - This value controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is.
  • To perform a search where the result might exceed this number of objects, the client must specify the paged search control. This is to group the returned results in groups that are no larger than the MaxPageSize value. To summarize, MaxPageSize controls the number of objects that are returned in a single search result.

Resolution

Refer the following link:-

http://support.microsoft.com/kb/315071

Which describes MaxPageSize as follows and the steps to modify this setting under section "Modifying policy settings"

Keywords

LDAP 1000 fields displayed, Database Connector Error: Description: The size limit for this request was exceeded. , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V1