MS CRM 4.0: Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.ProvisionBusinessAction failed. RRS feed

  • Question

  • Hi,

    I am facing an issue while installing MS CRM 4.0.

    The exact issue is:

    When Install the CRM server, organization unit of the Domain server is get updated with MSCRM security access gropus. But when installer try to update the organization unit and admin user information in MSCRM database, installer get terminated and setup failed.


    Exception is: "Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.ProvisionBusinessAction failed. ---> System.Runtime.InteropServices.COMException (0x8007202B): A referral was returned from the server."


    Domain setup informations:

    Domain server operating system :

    1.     Windows Server 2003 Standard Edition with SP2.

    2.     Active Dierctory mode: Windows 2000 Mixed


     CRM Server is the member server of the domain.

    1. OS: Windows Server 2003 R2 Enterprice Edition with SP2.

    2. IIS 6.0 configured for .net all versions

    3. .Net framework 3.0 with SP1, WCF and WF.

    4. SQL Server 2005 Standard Edition with SP2 with Database Services, Integration Services, Reporting Services, MS SQL Agent and SQL Browser.

    5. SQL server configured for Mixed mode authentication and NT AUTHORITY / NETWORK SERVICE ACCOUNT configured properly.

    6. Reporting service website configured for Windows Authentication.


    Followed MSCRM Installation process:

    1. A new user created as domain account and permited in MSCRM Server as local administrator and Domain Administrator. In SQL Server and reporting service user has System Admin and DB owner and in Report server web site as content manager.

    Log file content:

    20:03:21|   Info| Account CN=*****,CN=Users,DC=***,DC=******** added to group LDAP://mxserver.***.**********/CN=PrivUserGroup {*******************************},OU=********,OU=******,DC=*****,DC=*********.

    20:03:21|   Info| Executing Install action: Microsoft.Crm.Setup.Server.TurnOnSetupModeAction

    20:03:21|   Info| Executing Install action: Microsoft.Crm.Setup.Server.ProvisionBusinessAction

    20:03:29|  Error| Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.ProvisionBusinessAction failed. ---> System.Runtime.InteropServices.COMException (0x8007202B): A referral was returned from the server.

       at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()

       at System.DirectoryServices.SearchResultCollection.get_InnerList()

       at System.DirectoryServices.SearchResultCollection.get_Count()

       at Microsoft.Crm.BusinessEntities.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid)

       at Microsoft.Crm.BusinessEntities.SecurityUtils.TryGetGuidFromSid(Byte[] sid)

       at Microsoft.Crm.BusinessEntities.SecurityUtils.GetUserId(String domainName)

       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserId(String NTName)

       at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ProvisionCreate(IBusinessEntity systemuser, ExecutionContext context)

       at Microsoft.Crm.ObjectModel.OrganizationServiceInternal`1.CreateRootBusiness(IBusinessEntity organization, IBusinessEntity business, IBusinessEntity systemUser, ExecutionContext context)

       at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationCreateNew(String organizationId, String organizationName, String userAccountName, String userFirstName, String userLastName, String userEmail, String featureSetFile, String languageCode, String privilegedUserGroup, String sqlAccessGroup, String userGroup, String reportingGroup, String privilegedReportingGroup, Boolean grantNetworkServiceAccess)

       at Microsoft.Crm.Setup.Server.ProvisionBusinessAction.Do(IDictionary parameters)

       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)

       --- End of inner exception stack trace ---

       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)

       at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

       at Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary stateSaver)

       at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary stateSaver)

       at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)

       at Microsoft.Crm.Setup.Server.ServerSetup.Run()

    20:03:29|   Info| Microsoft Dynamics CRM Server install Failed.

    20:03:29|   Info| Microsoft Dynamics CRM Server Setup did not complete successfully. 

    Action Microsoft.Crm.Setup.Server.ProvisionBusinessAction failed.

    A referral was returned from the server.


    Any solution please.

    Thanks in advance.

    Wednesday, December 24, 2008 8:11 AM

All replies

  • There was a similar error message during the install of MS CRM 3.0

    928015 CRM 3.0 Installation 11/22/2006 Error message when you try to install Microsoft Dynamics CRM 3.0: "Action Microsoft.Crm.Setup.Server.ProvisionBusinessAction failed"

    You might find the URL below helpful.

    Wednesday, December 24, 2008 9:18 AM
  • Hi Hassan,
    Is there any other way to achieve this. The forest domain in Win 2000 Mixed mode, will it give any issue. Please suggest me any other solutions for this problem.

    Wednesday, December 24, 2008 11:21 AM
  • Did you select the link associated with the article?  Here is the direct link if you want it.  I am not sure this is applicable to CRM 4 but it could be.  https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;928015


    One question:  when you went through the installation wizard did you download all updates before moving forward?  Also, did you receive any warnings or errors messages after the environment diagnosis? 


    These are supported AD Modes:


    Active Directory Modes

    The computer on which Microsoft Dynamics CRM 4.0 is running must be a domain member in a domain that is running in one of the following Active Directory® modes:

    ·         Windows 2000 Mixed

    ·         Windows 2000 Native

    ·         Windows Server 2003 Native

    ·         Windows Server 2003 Interim

    ·         All Windows Server 2008 Modes


    Wednesday, December 24, 2008 4:47 PM
  • Dear Donna,
    I don't have account with MBS even in my company too. Is it possible to create by individuals. If you have the content of the link can you please provide?

    Thursday, December 25, 2008 5:55 AM