locked
install dynamics CRM faild:Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 RRS feed

  • Question

  • dear,

    I install dynamics CRM faild,the message :

    Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。
    Unable to change the Service description.

    Log:

    13:46:50|   Info| CrmAction execution time; AddVssWriterServiceAccountToPrivilegedUserGroupAction; 00:00:00.8580000
    13:46:50|   Info| Executing Install action: Microsoft.Crm.Setup.Server.AddVssWriterServiceAccountToSqlAccessGroupAction
    13:46:50|   Info| Account network name: ZSS\WIN-H6CAS6PPER9$
    13:46:50|   Info| Account distinguished name: CN=WIN-H6CAS6PPER9,OU=Domain Controllers,DC=zss,DC=com
    13:46:50|   Info| CrmAction execution time; AddVssWriterServiceAccountToSqlAccessGroupAction; 00:00:00.1410000
    13:46:50|   Info| Executing Install action: Microsoft.Crm.Setup.Server.VssWriterServiceInstaller+GrantVssWriterServiceLogonRights
    13:46:50|   Info| CrmAction execution time; GrantVssWriterServiceLogonRights; 00:00:00.0030000
    13:46:50|   Info| Executing Install action: Microsoft.Crm.Setup.Server.AddServiceAccountToVssAccessControlAction
    13:46:50|   Info| CrmAction execution time; AddServiceAccountToVssAccessControlAction; 00:00:00.0060000
    13:46:50|   Info| Executing Install action: Microsoft.Crm.Setup.Server.RegisterVssWriterComAction
    13:46:50|   Info| RegisterComAssembly -  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /codebase "C:\Program Files\Microsoft Dynamics CRM\Server\bin\Microsoft.Crm.VSSWriter.Interop.dll"
    13:46:54|   Info| RegisterVssWriterComAction succeded with exitcode 0. Message: Microsoft(R) .NET Framework 程序集注册实用工具 4.0.30319.18408
    版权所有(C) Microsoft Corporation 1998-2004。保留所有权利。

    成功注册了类型

    13:46:54|   Info| CrmAction execution time; RegisterVssWriterComAction; 00:00:03.7200000
    13:46:54|   Info| Executing Install action: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction
    13:46:58|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> Microsoft.Crm.CrmException: Unable to Query service status.
       在 Microsoft.Crm.ServiceControlManager.StartService(ServiceSafeHandle service)
       在 Microsoft.Crm.NativeServiceInstaller.Install(IDictionary stateSaver)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:01:05|   Info| InputResult: Retry
    15:01:05|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 01:14:11.6120000
    15:01:06|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to change the Service description.
       在 Microsoft.Crm.ServiceControlManager.InstallNativeService(String serviceName, String displayName, String description, String assemblyPath, String user, String password)
       在 Microsoft.Crm.NativeServiceInstaller.Install(IDictionary stateSaver)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:18|   Info| InputResult: Retry
    15:11:18|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:10:12.4930000
    15:11:18|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:19|   Info| InputResult: Retry
    15:11:19|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:01.2300000
    15:11:19|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:20|   Info| InputResult: Retry
    15:11:20|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.8390000
    15:11:20|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:20|   Info| InputResult: Retry
    15:11:20|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.2640000
    15:11:20|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:20|   Info| InputResult: Retry
    15:11:20|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.2650000
    15:11:20|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:21|   Info| InputResult: Retry
    15:11:21|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.2640000
    15:11:21|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:21|   Info| InputResult: Retry
    15:11:21|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.2710000
    15:11:21|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:21|   Info| InputResult: Retry
    15:11:21|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.5190000
    15:11:21|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:22|   Info| InputResult: Retry
    15:11:22|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.7840000
    15:11:22|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:24|   Info| InputResult: Retry
    15:11:24|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:01.9920000
    15:11:24|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:25|   Info| InputResult: Retry
    15:11:25|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.5110000
    15:11:25|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:25|   Info| InputResult: Retry
    15:11:25|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.2870000
    15:11:25|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:11:26|   Info| InputResult: Retry
    15:11:26|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.6500000
    15:11:26|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:12:11|   Info| InputResult: Retry
    15:12:11|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:45.3260000
    15:12:11|  Error| System.Exception: Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Server.RegisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1
    15:12:12|   Info| InputResult: Cancel
    15:12:12|   Info| CrmAction execution time; RegisterVssWriterServiceAction; 00:00:00.9020000
    15:12:12|  Error| Installer Complete: VssWriterServiceInstaller - Error encountered
    15:12:12|Warning| Error reported while configuring VssWriterService. Attempting rollback
    15:12:12|   Info| VssWriterServiceInstaller: Beginning uninstall operation
    15:12:12|   Info| Executing Uninstall action: Microsoft.Crm.Setup.Server.UnregisterRoleAction
    15:12:12|   Info| Registry updated to reflect removal of the VssWriterService role
    15:12:12|   Info| ConfigDB updated to reflect removal of the VssWriterService role
    15:12:12|   Info| CrmAction execution time; UnregisterRoleAction; 00:00:00.1710000
    15:12:12|   Info| Executing Uninstall action: Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction
    15:12:12|  Error| System.Exception: Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, AbortRetryIgnore, Option1
    15:12:36|   Info| InputResult: Retry
    15:12:36|   Info| CrmAction execution time; UnregisterVssWriterServiceAction; 00:00:24.0670000
    15:12:36|  Error| System.Exception: Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction 操作失败。 ---> System.ComponentModel.Win32Exception: Unable to delete the requested Service.
       在 Microsoft.Crm.ServiceControlManager.UninstallNativeService(String serviceName)
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall()
       在 Microsoft.Crm.NativeServiceInstaller.Uninstall(IDictionary savedState)
       在 Microsoft.Crm.Setup.Server.UnregisterVssWriterServiceAction.Do(IDictionary parameters)
       在 Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- 内部异常堆栈跟踪的结尾 ---, Error, AbortRetryIgnore, Option1

    Monday, October 6, 2014 7:50 AM