locked
On Premise CRM 2011 - 2013 Upgrade Error: Exception while creating default mailbox for user/queue RRS feed

  • Question

  • I have a CRM 4 organisation. It has 90 users (30 of which are disabled and no longer in AD).

    I took the database onto a local computer (non domain) created dummy AD users and upgraded to 2011.  I then put the database back on the domain and attempted to upgrade to 2013.

    The upgrade fails.

    I have created 30 AD accounts "User01 - User30" to map the missing accounts into.

    The migration/upgrade fails here:Exception while creating default mailbox for user/queue.  I will supply the trace below.  Anyone know what the issue is.  I have successfully upgraded to 2013 on my test domain.  I am guessing there is something environmental at play here.

    Log:

    18:44:37|  Error| Exception while creating default mailbox for user/queue. Error: Unhandled Exception: Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
     Inner Exception: System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
     , Error, OK, Option1
     18:46:15|   Info| InputResult: OK
     18:46:15|   Info| CrmAction execution time; UpgradeDatabaseAction; 00:07:07.4466198
     18:46:15|  Error| Installer Complete: OrganizationUpgrader - Error encountered
     18:46:15|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed.
     InnerException:
     System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
     InnerException:
     Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
     InnerException:
     System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

    18:46:15|   Info| Setting organization state.  New state = Failed
     18:46:16|  Error| Upgrade Organization with Id=b24e96cc-0fec-40d2-aa71-7332aca63919 failed with Exception:
     System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
     18:46:16|  Error| An error occurred when trying import and upgrade organization database MYORGsql.MYORG_Upgraded_MSCRM:
     Microsoft.Crm.CrmException: Upgrade Organization with Id=b24e96cc-0fec-40d2-aa71-7332aca63919 failed with Exception:
     System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
     18:46:16|  Error| Import Organization (Name=MYORG, Id=b24e96cc-0fec-40d2-aa71-7332aca63919) failed with Exception:
     Microsoft.Crm.CrmException: Upgrade Organization with Id=b24e96cc-0fec-40d2-aa71-7332aca63919 failed with Exception:
     System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Failed to get priv user group information. k = b24e96cc-0fec-40d2-aa71-7332aca63919 privUserGroupId: 275f1a1b-cebc-452c-9dd6-6af5b956c509, localSystemAdGuid: 694c9577-6c6e-4b86-b020-6b9a9d611a66, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context). ---> System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
        at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
        at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
        at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
        at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
        at Microsoft.Crm.BusinessEntities.SystemUserContext..ctor(ExecutionContext context, Boolean switchAuditingInfo)
        at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
        --- End of inner exception stack trace ---
        at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
        at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
        at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
        at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
        at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
        at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
        at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
        at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
        --- End of inner exception stack trace ---
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
        at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)
     18:46:16|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 302.
     18:02:50|Verbose| Retrieving database base language code Data Source=MYORGsql;Initial Catalog=MYORG_Upgraded_MSCRM;Integrated Security=True;Connect Timeout=60 ...
     18:02:50|   Info| Database base language code: 1033.
     18:02:50|Warning| The FullText Indexing language code could not be retrieved from the organization, so the organization base language is being used instead.
     18:02:50|Verbose| Retrieving database version Data Source=MYORGsql;Initial Catalog=MYORG_Upgraded_MSCRM;Integrated Security=True;Connect Timeout=60 ...
     18:02:50|   Info| Database version: 5.0.9690.3911.

    Thursday, February 27, 2014 6:11 PM

Answers

  • Tried again and the issue has gone away.

    The web server had been dropping off the internet yesterday while I was connected by remote desktop just fine.  I could also browse to the other servers file systems at the time.

    I think there was a network issue yesterday which was causing this.  Sorry I can't be of more help.  This must have failed about 5 times yesterday

    Worked fine today.

    Thursday, February 27, 2014 7:46 PM