“Paging cookie is required when trying to retrieve a set of records on any high pages” error in CRM 2011.


Hi,

While trying to retrieve more than 5000 records using Fetch XML we were getting the above error.

This is the sample code that we were using

http://msdn.microsoft.com/en-us/library/gg328046.aspx

it seems that the value of pagingcookie is not being set there in case of more records

// Check for morerecords, if it returns 1.

if (returnCollection.MoreRecords)

{

// Increment the page number to retrieve the next page.

pageNumber++;

}

Similar sample code for CRM 4

http://msdn.microsoft.com/en-us/library/cc151070.aspx

// Check for morerecords, if it returns true.

    if (results.MoreRecords)    {

        // Increment the page number to retrieve the next page.

        query.PageInfo.PageNumber++;

        // Set the paging cookie to the paging cookie returned from current results.

        query.PageInfo.PagingCookie = results.PagingCookie;

 }

So setting the PagingCookie resolved the issue for us.

Bye.


Crm Exception: Message: Default picklist value has to be one of the option values., ErrorCode: -2147220989, InnerException: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: Default picklist value has to be one of the option values.


Hi,

We were getting the above error while trying to import our default unmanaged solution from development environment to our staging environment.

It was giving the error for one of the custom entities. But there were no option sets (picklist fields) in that entity. There was one “two options” (bit) field in the entity. Deleting that field from the target staging environment and then retrying the import worked in our scenario.

Hope it helps.

JavaScript Web Resource issue in CRM 2011 after installing Update Rollup 10


Hi,

We recently installed Update Rollup 10 in our development environment and we started getting the following alert message in our JavaScript WebResource.

“You have exceeded the maximum number of 200o characters in this field; it will be truncated”

However it allows us to save the web resource properly after we close (cancel) the popup.

Check this out

http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/7f1afca5-004e-4780-9bbc-a9d6c3109c41

Bye.

 

TimeoutException: The request channel timed out while waiting for a reply after 00:00:59.7350618. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.


Hi,

I was getting the above error while working with large number of records using OrganizationServiceProxy in a console application.

Increasing the value for the timeout property resolved the issue.

// set the binding timeout to 20 minute (default is 2 minutes)

organizationProxy.Timeout = new
TimeSpan(0, 20, 0);

Bye.

Advertisements

Fixed – AggregateQueryRecordLimit exceeded. Cannot perform this operation.


Hi,

I was getting the above error in my RetrieveMultiple call in case if the number of records returned were more than 50000.

This limit is governed by ‘AggregrateQueryRecordLimit’ column value of Deployment Properties table in MSCRM_CONFIG database.

Updating it resolved the issue for me. (Remember this is unsupported customization)

 

update DeploymentProperties

set IntColumn = 100000

where ColumnName = ‘AggregateQueryRecordLimit’

 

Hope it helps.

Advertisements

“Microsoft Dynamics CRM Reporting Extensions must be installed on SQL Server Reporting Services for reports to work” in CRM 2011.


Hi,

While creating a new organization using Deployment Manager I was getting the above error.

Running SetupSrsDataConnector.exe from the CRM Setup installation media resolved the issue.

http://www.microsoft.com/en-us/download/details.aspx?id=27822

Bye.