locked
Change Domain Logon Name problem RRS feed

  • Question

  • Hi,

    I have MS CRM 4.0 Server in domain (domain1) with trusts to other domains (domain2, domain3). In deployment I have in CRM server users from all three domains. When I wont add new user from domain2 or domain3 all works fine. Problem is when I wont chnage Domain Logon Name form domain1\user2 to domain2\user2, because user change company. If I disable user domain1\user2 an create new one domain2\user2 all works fine, if I wont olny change domain name from domain1\user2 to domain2\user2 I receive error from MS CRM. Is possible change domain name form one domain to other domain ? (if I test change domain logon name form user2 to user3 i the same domain, it works fine)

     

    trace is

     

    [2008-05-30 13:12:01.5] Process: w3wp |Organization:01644e00-3627-dd11-89a3-0050568a788c |Thread:    1 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ActiveDirectoryUtility.GetDomainPath
    >Unable to get DNS name of domain domain2: System.Net.Sockets.SocketException: No such host is known
    >   at System.Net.Dns.GetAddrInfo(String name)
    >   at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
    >   at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
    >   at Microsoft.Crm.Application.Utility.ActiveDirectoryUtility.GetDomainPath(String netBiosName)
    [2008-05-30 13:12:56.2] Process: w3wp |Organization:01644e00-3627-dd11-89a3-0050568a788c |Thread:    1 |Category: Exception |User: 3a70a643-3627-dd11-89a3-0050568a788c |Level: Error | CrmException..ctor
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
     at CrmException..ctor(String message, Int32 errorCode)
     at SystemUserServiceInternal`1.UpdateDomainName(IBusinessEntity systemUser, Guid oldActiveDirectoryGuid, ExecutionContext context)
     at SystemUserServiceInternal`1.Update(IBusinessEntity systemuser, ExecutionContext context)
     at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at LogicalMethodInfo.Invoke(Object target, Object[] values)
     at InternalOperationPlugin.Execute(IPluginExecutionContext context)
     at PluginStep.Execute(PipelineExecutionContext context)
     at Pipeline.Execute(PipelineExecutionContext context)
     at MessageProcessor.Execute(PipelineExecutionContext context)
     at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
     at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
     at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
     at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
     at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
     at InProcessCrmService.Execute(Object request)
     at PlatformCommand.ExecuteInternal()
     at UpdateCommand.Execute()
     at EntityProxy.Update(Boolean performDuplicateCheck)
     at EntityProxy.UpdateAndRetrieve(String columnSet, Boolean performDuplicateCheck)
     at AppForm.RaiseDataEvent(FormEventId eventId)
     at EndUserForm.Initialize(Entity entity)
     at CustomizableForm.Execute(Entity entity, String formType)
     at CustomizableForm.Execute(Entity entity)
     at SystemUserDetailPage.ConfigureForm()
     at AppUIPage.OnPreRender(EventArgs e)
     at Control.PreRenderRecursiveInternal()
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     at Page.ProcessRequest()
     at Page.ProcessRequestWithNoAssert(HttpContext context)
     at Page.ProcessRequest(HttpContext context)
     at Domain1_biz_users_edit_aspx.ProcessRequest(HttpContext context)
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     at ApplicationStepManager.ResumeSteps(Exception error)
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
     at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >Crm Exception: Message: domain name does not exist, ErrorCode: -2147214038
    [2008-05-30 13:12:56.2] Process: w3wp |Organization:01644e00-3627-dd11-89a3-0050568a788c |Thread:    1 |Category: Platform |User: 3a70a643-3627-dd11-89a3-0050568a788c |Level: Error | MessageProcessor.Execute
    >MessageProcessor fail to process message 'Update' for 'systemuser'.
    [2008-05-30 13:12:56.2] Process: w3wp |Organization:01644e00-3627-dd11-89a3-0050568a788c |Thread:    1 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Exception has been thrown by the target of an invocation.

    Error Number: 0x80041D2A

    Error Message: domain name does not exist

    Error Details: domain name does not exist

    Source File: Not available

    Line Number: Not available

    Request URL: http://swcz0100/Domain1/biz/users/edit.aspx?id={DA70E928-3627-DD11-89A3-0050568A788C}

    Stack Trace Info: [CrmException: domain name does not exist]
       at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.UpdateDomainName(IBusinessEntity systemUser, Guid oldActiveDirectoryGuid, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.Update(IBusinessEntity systemuser, ExecutionContext context)

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
       at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
       at Microsoft.Crm.Application.Platform.ServiceCommands.UpdateCommand.Execute()
       at Microsoft.Crm.Application.Platform.EntityProxy.Update(Boolean performDuplicateCheck)
       at Microsoft.Crm.Application.Platform.EntityProxy.UpdateAndRetrieve(String columnSet, Boolean performDuplicateCheck)
       at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)

     

     

    Friday, May 30, 2008 12:14 PM

Answers

All replies

  • Hi Imran,

    I tried this tool before I wrote this question, but it doesn't help me.

     

    Josef

    Friday, May 30, 2008 9:00 PM
  • I'm having a similar problem. I have a user in Domain1 that I would like to add to CRM on Domain2. Anyone have a resolution?

     

    Wednesday, November 19, 2008 10:44 AM
  • I had this and managed to fix it. It occurs if you have windows 2003 with SP2, of hotfix 923354. Check out hotfix 950156 for a solution.

     

    As a workaround, you can add the user(s) manually into the appropriate CRM groups (userGroup, ReportingGroup) using standard AD functions, and then add the user into CRM.

     

    Tuesday, January 13, 2009 1:15 PM
  • I had this and managed to fix it. It occurs if you have windows 2003 with SP2, of hotfix 923354. Check out hotfix 950156 for a solution.

    As a workaround, you can add the user(s) manually into the appropriate CRM groups (userGroup, ReportingGroup) using standard AD functions, and then add the user into CRM.

    hi martin,

    as you have stated the the hotfixes are for the OS server 2003 for the CRM server rt?

    also as yu ahve mentioned to add the user in the CRM groups (Usergropu,reportinggroup) manually to the AD, this AD means in which we have installed CRM, not the trusted 2nd AD?

    please confirm me these two...

    thanks

    Sudhanshu


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com

    Wednesday, August 29, 2012 2:36 AM