Window服务安装期间出现错误1001 [英] Error 1001 during Window service installation
问题描述
找不到源MsiInstaller的事件ID 11001的描述。引发此事件的组件未安装在本地计算机上,或者安装已损坏。您可以在本地计算机上安装或修复组件。
如果事件源自另一台计算机,则显示信息必须与事件一起保存。
活动中包含以下信息:
产品:RMSEmailReader - 错误1001.错误1001. System.ServiceProcess.ServiceInstaller的OnAfterInstall事件处理程序中发生异常。 - >无法在计算机上启动服务RMSEmailReader'。'。 - >该服务没有及时响应启动或控制请求
(NULL)
(NULL)
(NULL)
(NULL)
消息资源存在但是在字符串/消息表中找不到消息
private void serviceInstaller1_AfterInstall( object sender,InstallEventArgs e)
{
// RMSEmailReader是服务名称
new ServiceController( RMSEmailReader跨度>)启动();
}
查看此代码项目文章
< a href =http://www.codeproject.com/Questions/236367/Windows-Service-error-Event-1001-Windows-Error-Rep> Windows服务错误 - 事件1001 Windows错误报告 [< a href =http://www.codeproject.com/Questions/236367/Windows-Service-error-Event-1001-Windows-Error-Reptarget =_ blanktitle =New Window> ^
The description for Event ID 11001 from source MsiInstaller cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Product: RMSEmailReader -- Error 1001. Error 1001. An exception occurred in the OnAfterInstall event handler of System.ServiceProcess.ServiceInstaller. --> Cannot start service RMSEmailReader on computer '.'. --> The service did not respond to the start or control request in a timely fashion
(NULL)
(NULL)
(NULL)
(NULL)
the message resource is present but the message is not found in the string/message table
private void serviceInstaller1_AfterInstall(object sender, InstallEventArgs e)
{
//RMSEmailReader is Service Name
new ServiceController("RMSEmailReader").Start();
}
check this codeproject article
Windows Service error - Event 1001 Windows Error Reporting[^]
这篇关于Window服务安装期间出现错误1001的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!