1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > windows服务安装(System.ComponentModel.Win32Exception:远程过程调用失败)

windows服务安装(System.ComponentModel.Win32Exception:远程过程调用失败)

时间:2021-09-27 23:26:24

相关推荐

windows服务安装(System.ComponentModel.Win32Exception:远程过程调用失败)

“安装”阶段发生异常。ponentModel.Win32Exception:远程过程调用失败

附上提示信息

C:\Windows\\Framework\v4.0.30319>installUtil.exeC:\Users\Administr

ator\Desktop\WindowsService1\WindowsService1\WindowsService1\bin\Debug\WindowsSe

rvice1.exe

Microsoft(R).NETFramework安装实用工具版本4.0.30319.1

Copyright(c)MicrosoftCorporation.Allrightsreserved.

正在运行事务处理安装。

正在开始安装的“安装”阶段。

查看日志文件的内容以获得C:\Users\Administrator\Desktop\WindowsService1\WindowsS

ervice1\WindowsService1\bin\Debug\WindowsService1.exe程序集的进度。

该文件位于C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\Window

sService1\bin\Debug\WindowsService1.InstallLog。

正在安装程序集“C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\W

indowsService1\bin\Debug\WindowsService1.exe”。

受影响的参数是:

logtoconsole=

logfile=C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\Wind

owsService1\bin\Debug\WindowsService1.InstallLog

assemblypath=C:\Users\Administrator\Desktop\WindowsService1\WindowsService1

\WindowsService1\bin\Debug\WindowsService1.exe

正在安装服务Service1...

正在日志Application中创建EventLog源Service1...

在“安装”阶段发生异常。

ponentModel.Win32Exception:远程过程调用失败。

正在开始安装的“回滚”阶段。

查看日志文件的内容以获得C:\Users\Administrator\Desktop\WindowsService1\WindowsS

ervice1\WindowsService1\bin\Debug\WindowsService1.exe程序集的进度。

该文件位于C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\Window

sService1\bin\Debug\WindowsService1.InstallLog。

正在回滚程序集“C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\W

indowsService1\bin\Debug\WindowsService1.exe”。

受影响的参数是:

logtoconsole=

logfile=C:\Users\Administrator\Desktop\WindowsService1\WindowsService1\Wind

owsService1\bin\Debug\WindowsService1.InstallLog

assemblypath=C:\Users\Administrator\Desktop\WindowsService1\WindowsService1

\WindowsService1\bin\Debug\WindowsService1.exe

正在将事件日志还原到源Service1的前一状态。

“回滚”阶段已成功完成。

已完成事务处理安装。

安装失败,已执行回滚。

在安装windows服务时出现上述错误,原来是因为电脑上有杀毒软件。关掉就好了。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。