Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: Error during add new User in CRM 2011

$
0
0

We have newly built CRM 2011. When I tried to add new User, it gave me error, with logs listed below.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Server was unable to process request.Detail:

<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">

 <ErrorCode>-2147016661</ErrorCode>

 <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />

 <Message>Server was unable to process request.</Message>

 <Timestamp>2013-06-27T23:00:55.6259968Z</Timestamp>

 <InnerFault i:nil="true" />

 <TraceText i:nil="true" />

</OrganizationServiceFault>

I did try to change the Auto Group Management Option in Registry to 1 and added PreferredDc. Both ways didn't work.

Some more backgound informatoin:-

Initially during the CRM Installation Stage, we encountered error:-

-Action Microsoft.Crm.Tools.Admin.ProvisionBusinessAction failed.

which failed to create initial CRM Organization.

in the log file, it had

09:59:11|   Info| CrmAction execution time; GrantCrmDatabaseAccessAction; 00:00:01.1875234

09:59:11|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.SetReportsUnpublishedAction

09:59:11|   Info| CrmAction execution time; SetReportsUnpublishedAction; 00:00:00.0156246

09:59:11|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.FlushMetadataCacheAction

09:59:11|   Info| CrmAction execution time; FlushMetadataCacheAction; 00:00:00.0312522

09:59:11|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.ProvisionBusinessAction

09:59:24|   Info| CrmAction execution time; ProvisionBusinessAction; 00:00:12.5632566

09:59:24|  Error| Installer Complete: OrganizationCreator - Error encountered

09:59:24|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationCreator: Action Microsoft.Crm.Tools.Admin.ProvisionBusinessAction failed.

InnerException:

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.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid)

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

  at Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches)

  at Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches)

  at Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)

  at Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)

  at Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, 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 reportingGroup, String privilegedReportingGroup, Boolean grantNetworkServiceAccess, OrganizationResourceHelper orgSettingsHelper)

  at Microsoft.Crm.Tools.Admin.ProvisionBusinessAction.Do(IDictionary parameters)

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

We have 3 domain controllers. After running DCDiagnostic and restart the PDC, we had CRM Installed and could add new user as well.

If anyone have the similar situation, please advise. thanks.


Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>