Monday, July 30, 2012

CRM 2011 Error Creating New Organization

You get an error while creating a new organization in CRM 2011.
A non valid page number was received: 0 is displayed on the screen.
The CRM Log is showing the following error message.
Error| System.Exception: Action Microsoft.Crm.Tools.Admin.PopulateDependencyNodesAction failed. ---> Microsoft.Crm.CrmException: A non valid page number was received: 0
 at Microsoft.Crm.BusinessEntities.PagingHelper.AddPagingFilters(EntityExpression entityExpression)
 at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoRetrieveMultiple(BusinessEntityCollection entities, EntityExpression entityExp, DatabaseQueryTarget queryTarget, ExecutionContext context)
 at Microsoft.Crm.BusinessEntities.BusinessProcessObject.RetrieveMultiple(EntityExpression entityExpression, DatabaseQueryTarget queryTarget, ExecutionContext context)
 at Microsoft.Crm.ObjectModel.DependencyNodeService.CreateDataNodes(Int32 componentType, ExecutionContext context)
 at Microsoft.Crm.ObjectModel.DependencyNodeService.CreateAllDependencyNodes(ExecutionContext context)
 at Microsoft.Crm.Tools.Admin.PopulateDependencyNodesAction.Do(IDictionary parameters)
 at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
 --- End of inner exception stack trace ---, Error, RetryCancel, Option1
This error occures if you for some reason have enabled the registry key TurnOffFetchThrottling in the CRM server.
To be able to create the organization, set registry key value to 0 when you get the error message and then hit retry this will get you trough the new organization wizard in CRM 2011 Deployment manager.
I have confirmed that this issue is still occur in CRM 2011 Rollup 8
I hope this is helpful.

2 comments:

  1. Thanks for the post. Kanhasoft is CRM solution developer in India and USA. We are dedicated to giving reliable and affordable Custom CRM Development Services to our clients. Visit the site to know more.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete