CrmAsyncService.exe 报出错误,求解!
-
Donnerstag, 1. September 2011 09:04
我现在的CRM环境是:
服务器A: 安装CRM程序的主机 名称:CRMWEB
服务器B: 安装CRM数据库的主机 名称:CRMDATABASE
(服务器A+B 构成正在运作的CRM系统)我又添了一个服务器C, 我在上面安装CRM程序,然后数据库服务器依然使用服务器B.
安装检测时,一切显示绿色,在安装过程中却报错了,
错误提示为“超时时间已到而操作尚未完成。在安装的“提交”阶段发生异常”我查看了安装过程中的Log日志,但是还是没看出问题所在,现公示出来,往高手指点!
CrmAsyncService.log 如下:正在安装程序集“C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe”。 受影响的参数是: account = NetworkService logfile = C:\Documents and Settings\Administrator.CMK\Application Data\Microsoft\MSCRM\Logs\CrmAsyncService.log description = 处理已排队的异步事件的过程 assemblypath = C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe sqlserver = CRMDATABASE displayname = Microsoft CRM 异步处理服务 正在安装服务 MSCRMAsyncService... 已成功安装服务 MSCRMAsyncService。 正在日志 Application 中创建 EventLog 源 MSCRMAsyncService... 查看日志文件的内容以获得 C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe 程序集的进度。 该文件位于 C:\Documents and Settings\Administrator.CMK\Application Data\Microsoft\MSCRM\Logs\CrmAsyncService.log。 正在提交程序集“C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe”。 受影响的参数是: account = NetworkService logtoconsole = logfile = C:\Documents and Settings\Administrator.CMK\Application Data\Microsoft\MSCRM\Logs\CrmAsyncService.log description = 处理已排队的异步事件的过程
assemblypath = C:\Program Files\Microsoft Dynamics CRM\Server\bin\CrmAsyncService.exe sqlserver = CRMDATABASE displayname = Microsoft CRM 异步处理服务 在 Microsoft.Crm.ExtendedServiceInstaller 的事件处理程序 OnCommitted 中发生异常。 System.ServiceProcess.TimeoutException: 超时时间已到而操作尚未完成。 在安装的“提交”阶段发生异常。将忽略该异常并继续安装。但是,在安装完成后,应用程序可能会工作不正常。crm40svrsetup.log 如下:
(....前面还有很多省略) 13:40:47| Info| Calling iisreset 13:40:55| Info| 正在尝试停止... Internet 服务已成功停止 正在尝试启动... Internet 服务已成功重新启动 13:40:55| Info| Executing Install action: Microsoft.Crm.Setup.Server.GrantAccessToExchangeMailRootAction 13:40:55| Info| Executing Install action: Microsoft.Crm.Setup.Server.DMSnapInInstallAction 13:40:55| Info| Executing Install action: Microsoft.Crm.Setup.Server.RegisterDMSnapInComPlusAction 13:40:55| Info| Executing Install action: Microsoft.Crm.Setup.Server.SetConfigDBRegistrySettingsAction 13:40:55| Info| Executing Install action: Microsoft.Crm.Setup.Server.RetrieveInfoFromDatabaseAction 13:40:55|Verbose| Retrieving information from database Provider=SQLOLEDB;Data Source=CRMDATABASE;Initial Catalog=MSCRM_CONFIG;Integrated Security=SSPI ... 13:40:56| Info| PrivilegeUserGroup: <GUID=96648b59-0488-4938-b2d6-7480eb5ff4fd> 13:40:56| Info| SqlAccessGroup: <GUID=e0c228b2-48f8-4831-a5ff-680d38a82ec4> 13:40:56| Info| UserGroup: <GUID=a3bf2b9b-e647-4852-a217-860edfc8a1c0> 13:40:56| Info| ReportingGroup: <GUID=ae8cdb0a-302f-41fe-9306-9ef02d458324> 13:40:56| Info| PrivReportingGroup: <GUID=d48722fd-a67a-40f5-a0f0-ecd82e4262a8> 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.AddServerAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.UpdateWebEndpointsAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.UpdateSDKEndpointsAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.ConfigureAuthenticationSettings
13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.AddHelpServerUrlToConfigDatabaseAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.UpdateServerSettingsAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.AddLicenseAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.UpdateConnectionStringsRegistryAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.UpdateDbVersionRegistryAction 13:40:56|Verbose| Retrieving config database version Provider=SQLOLEDB;Data Source=CRMDATABASE;Initial Catalog=MSCRM_CONFIG;Integrated Security=SSPI ... 13:40:56| Info| Config database version: 4.0.7333.131. 13:40:56| Info| Database version: 4.0.7333.131 13:40:56| Info| Updating registry keys... 13:40:56| Info| Database Version: 4.0.7333.131 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.RSUpdateRegistryAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Server.RSUpdateCrmWebConfig 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Common.CreateSqmRegistryAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Common.CreateSqmQueueLocationAction 13:40:56| Info| Executing Install action: Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction 13:42:30| Error| System.Exception: Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction 操作失败。 ---> System.Configuration.Install.InstallException: 在安装的“提交”阶段发生异常。将忽略该异常并继续安装。但是,在安装完成后,应用程序可能会工作不正常。 ---> System.ServiceProcess.TimeoutException: 超时时间已到而操作尚未完成。 在 System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) 在 Microsoft.Crm.ExtendedServiceInstaller.StartService(Object sender, InstallEventArgs e) 在 System.Configuration.Install.InstallEventHandler.Invoke(Object sender, InstallEventArgs e) 在 System.Configuration.Install.Installer.OnCommitted(IDictionary savedState) 在 System.Configuration.Install.Installer.Commit(IDictionary savedState) --- 内部异常堆栈跟踪的结尾 --- 在 System.Configuration.Install.Installer.Commit(IDictionary savedState) 在 System.Configuration.Install.AssemblyInstaller.Commit(IDictionary savedState) 在 Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction.Do(IDictionary parameters) 在 Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo) --- 内部异常堆栈跟踪的结尾 ---, Error, RetryCancel, Option1 13:44:51| Info| InputResult: Cancel 13:44:52| Error| Install exception.System.Exception: Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction 操作失败。 ---> System.Configuration.Install.InstallException: 在安装的“提交”阶段发生异常。将忽略该异常并继续安装。但是,在安装完成后,应用程序可能会工作不正常。 ---> System.ServiceProcess.TimeoutException: 超时时间已到而操作尚未完成。 在 System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) 在 Microsoft.Crm.ExtendedServiceInstaller.StartService(Object sender, InstallEventArgs e) 在 System.Configuration.Install.InstallEventHandler.Invoke(Object sender, InstallEventArgs e) 在 System.Configuration.Install.Installer.OnCommitted(IDictionary savedState) 在 System.Configuration.Install.Installer.Commit(IDictionary savedState) --- 内部异常堆栈跟踪的结尾 --- 在 System.Configuration.Install.Installer.Commit(IDictionary savedState) 在 System.Configuration.Install.AssemblyInstaller.Commit(IDictionary savedState) 在 Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction.Do(IDictionary parameters) 在 Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo) --- 内部异常堆栈跟踪的结尾 --- 在 Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo) 在 Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver) 在 Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary stateSaver) 在 Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary stateSaver) 在 Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data) 在 Microsoft.Crm.Setup.Server.ServerSetup.Run() 13:44:52| Info| Microsoft Dynamics CRM 服务器 安装失败。 13:44:52| Info| Microsoft Dynamics CRM 服务器安装程序未能成功完成。 Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction 操作失败。 在安装的“提交”阶段发生异常。将忽略该异常并继续安装。但是,在安装完成后,应用程序可能会工作不正常。 超时时间已到而操作尚未完成。 13:44:54| Info| === 安装程序启动记录开始 2011-9-1 13:44:54 === 13:44:54| Info| Bootstrap version: 4.0.7333.131. 13:44:54| Info| User: Administrator. 13:44:54| Info| 托管安装程序已退出,且返回代码 -2。 13:44:54| Info| Clean up the BITS downloader. 13:44:54| Info| === 安装程序启动记录结束 2011-9-1 13:44:54 ===