locked
Plug in registration error .Domain name invalid or unreachable RRS feed

  • Question

  • Hi,

     

    I have problem with registering plug ins in MS CRM 4.0.

    When i try to register / unregister a plug in i get the error

     

    " Server cannot process request . Domain name either invalid or unreachable".

     

    even when i tries to register plug in from my server i get the same error.

     

    Since this is the production environment i need to solv ethi surgently.

    Looking forward for your help.

     

    Regards,

    Soumya.

     

    Monday, August 4, 2008 3:52 AM

Answers

All replies

  • I have found 2 circumstances where this can occur:

    1. If the code that registers the plug-in is running using a built-in account (e.g. Network Service)
    2. Occasionally, if registering a plug-in with many steps, I get this error

    See http://mscrmuk.blogspot.com/2008/07/invalid-domain-name-error-when.html for more information

    Monday, August 4, 2008 10:09 AM
    Moderator
  • Hi,

     

    Thanks for the reply.

    I am using the plug in registrtaion tool for registering.

    I have also tried regsitering plug in form with in the server.

    Also one more thing..

    I am not able to open deployment manager

     

    It says MMC cannot be load snap in ..snap in might not be installed successfully.

    When i close the error messag ebox.

    i get " Domian name invalid or unreachable" error?

     

    Is both these problems related?

     

     

     

     

    Tuesday, August 5, 2008 3:52 AM
  • Hi, 
    
    I am also getting following error in MS CRM 4.0 when using Deployment Manager:
    "Invalid Domain Name. Domain name is either invalid or unreachable".
    
    Also when using the Plug-in registration tool, I am getting the same error. 
    And I am not able to register any plug-in.
    
    Request you to please provide your inputs.
    
    Thanks in advance, help appreciated.
    
    Bharat
    

     

    Tuesday, November 11, 2008 10:30 AM
  • I have been facing same pb any solution?
    Nazish
    Tuesday, February 3, 2009 12:14 PM
  • Please ensure you are a Deployment Manager. You will need to open Deployment Manager by logging on to the Server as the Crm Install User and add yourself as a Deployment Administrator from the Deployment manager tool.

    Note:  All those who are trying to register Plugins/Custom WF activities, Please use the Plugin Registration tool posted on http://code.msdn.com/crmplugin This is an excellent tool for registering Plugins and Custom WF activities. You donot need to manually edit/create registration xml.

    Please let me know how it goes.
    • Proposed as answer by Maruf Tuesday, February 3, 2009 2:26 PM
    • Edited by Maruf Tuesday, February 3, 2009 2:30 PM incorrect solution. Needed to add more notes
    Tuesday, February 3, 2009 2:25 PM
  • If it does not work from another computer, try to use the Plugin Registration Tool on the Crm Server itself.

    Tuesday, February 3, 2009 2:27 PM
  • Hi all,

    I am unable to update / unregister plugins on my production server.
    Also I am unable to open the Deployment Manger MMC.

    Pls find error log below.


    Unhandled Exception: System.Web.Services.Protocols.SoapException: Server was unable to process request.
    Detail: <detail><error>
      <code>0x80040216</code>
      <description>An unexpected error occurred.</description>
      <type>Platform</type>
    </error></detail>
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at PluginRegistrationTool.CrmSdk.CrmService.Update(BusinessEntity entity)
       at PluginRegistrationTool.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly)
       at PluginRegistrationTool.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)


    Trace says
       at Microsoft.Crm.Sdk.Crm2007.CrmService.Delete(String entityName, Guid id)
       --- End of inner exception stack trace ---
    [2009-05-20 07:08:09.8] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    3 |Category: Platform |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | MessageProcessor.Execute
    >MessageProcessor fail to process message 'Update' for 'pluginassembly'.
    [2009-05-20 07:08:09.8] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    3 |Category: Platform.Sdk |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | CompositeSoapExtensionExceptionHandler.Handle
    >CrmSoapExtension detected non-CrmException - report will be sent to Watson:
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=TK5-RED-DC-02,CN=Servers,CN=NA-WA-TUKDC,CN=Sites,CN=Configuration,DC=corp,DC=microsoft,DC=com".
       at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean isADAM, Boolean isGC)
       at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
       at System.DirectoryServices.ActiveDirectory.Domain.FindAllDomainControllers()
       at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.TryCheckPrivilege(PrivilegeOnPremise privilege, String systemUserName)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.ValidateOperationForCurrentSku(String operationName, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.UpdateInternal(IBusinessEntity entity, ExecutionContext context, Boolean verifySku)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.Update(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context)
       --- End of inner exception stack trace ---
       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.CrmServiceInternal.Update(String namespaceName, BusinessEntityBase entity, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.Crm2007.CrmService.Update(BusinessEntity entity)
       --- End of inner exception stack trace ---
    [2009-05-20 07:08:42.3] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    8 |Category: Platform |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | MessageProcessor.Execute
    >MessageProcessor fail to process message 'Update' for 'pluginassembly'.
    [2009-05-20 07:08:42.3] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    8 |Category: Platform.Sdk |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | CompositeSoapExtensionExceptionHandler.Handle
    >CrmSoapExtension detected non-CrmException - report will be sent to Watson:
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=TK5-RED-DC-02,CN=Servers,CN=NA-WA-TUKDC,CN=Sites,CN=Configuration,DC=corp,DC=microsoft,DC=com".
       at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean isADAM, Boolean isGC)
       at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
       at System.DirectoryServices.ActiveDirectory.Domain.FindAllDomainControllers()
       at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.TryCheckPrivilege(PrivilegeOnPremise privilege, String systemUserName)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.ValidateOperationForCurrentSku(String operationName, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.UpdateInternal(IBusinessEntity entity, ExecutionContext context, Boolean verifySku)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.Update(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context)
       --- End of inner exception stack trace ---
       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.CrmServiceInternal.Update(String namespaceName, BusinessEntityBase entity, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.Crm2007.CrmService.Update(BusinessEntity entity)
       --- End of inner exception stack trace ---
    [2009-05-20 07:19:37.9] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    8 |Category: Platform |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | MessageProcessor.Execute
    >MessageProcessor fail to process message 'Update' for 'pluginassembly'.
    [2009-05-20 07:19:38.0] Process: w3wp |Organization:d6713c8f-3d88-4c5c-9da1-f85b1de79e26 |Thread:    8 |Category: Platform.Sdk |User: 90c51bb4-3cf1-dd11-be43-0003ffdef104 |Level: Error | CompositeSoapExtensionExceptionHandler.Handle
    >CrmSoapExtension detected non-CrmException - report will be sent to Watson:
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Unable to obtain DNS hostname of Active Directory domain controller with ntdsa object name "CN=NTDS Settings,CN=TK5-RED-DC-02,CN=Servers,CN=NA-WA-TUKDC,CN=Sites,CN=Configuration,DC=corp,DC=microsoft,DC=com".
       at System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext context, String partitionName, String siteName, Boolean isDefaultNC, Boolean isADAM, Boolean isGC)
       at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext context, String domainName, Boolean isDnsDomainName, String siteName)
       at System.DirectoryServices.ActiveDirectory.Domain.FindAllDomainControllers()
       at System.DirectoryServices.ActiveDirectory.Domain.get_DomainControllers()
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.TryCheckPrivilege(PrivilegeOnPremise privilege, String systemUserName)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.ValidateOperationForCurrentSku(String operationName, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.UpdateInternal(IBusinessEntity entity, ExecutionContext context, Boolean verifySku)
       at Microsoft.Crm.ObjectModel.SdkEntityServiceBase.Update(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.PluginAssemblyServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context)
       --- End of inner exception stack trace ---
       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.CrmServiceInternal.Update(String namespaceName, BusinessEntityBase entity, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
       at Microsoft.Crm.Sdk.Crm2007.CrmService.Update(BusinessEntity entity)
       --- End of inner exception stack trace ---



    any help would be appreciated.

    thanks  In advance


    Susan
    Wednesday, May 20, 2009 2:56 PM
  • Hi,

    Please verify that you have proper rights on CRM's DB, plugin registration tool does cause a bit of problem when CRM And SQL Server are on different machines.

    Monday, July 27, 2009 9:07 AM