windowservice在window7中安装老是失败信息如下:win+R cmd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installutil E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe
正在运行事务处理安装。正在开始安装的“安装”阶段。
查看日志文件的内容以获得 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.
exe 程序集的进度。
该文件位于 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog。
正在安装程序集“E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe”。
受影响的参数是:
logtoconsole =
assemblypath = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe
logfile = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog
正在安装服务 CNL ShareService...
正在日志 Application 中创建 EventLog 源 CNL ShareService...在“安装”阶段发生异常。
System.InvalidOperationException: 无法打开计算机“.”上的服务控制管理器。此操作
可能需要其他特权。
引发了内部异常 System.ComponentModel.Win32Exception,错误消息如下: 拒绝访问。。正在开始安装的“回滚”阶段。
查看日志文件的内容以获得 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.
exe 程序集的进度。
该文件位于 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog。
正在回滚程序集“E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe”。
受影响的参数是:
logtoconsole =
assemblypath = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe
logfile = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog
正在将事件日志还原到源 CNL ShareService 的前一状态。“回滚”阶段已成功完成。急求解决方案、
正在运行事务处理安装。正在开始安装的“安装”阶段。
查看日志文件的内容以获得 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.
exe 程序集的进度。
该文件位于 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog。
正在安装程序集“E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe”。
受影响的参数是:
logtoconsole =
assemblypath = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe
logfile = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog
正在安装服务 CNL ShareService...
正在日志 Application 中创建 EventLog 源 CNL ShareService...在“安装”阶段发生异常。
System.InvalidOperationException: 无法打开计算机“.”上的服务控制管理器。此操作
可能需要其他特权。
引发了内部异常 System.ComponentModel.Win32Exception,错误消息如下: 拒绝访问。。正在开始安装的“回滚”阶段。
查看日志文件的内容以获得 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.
exe 程序集的进度。
该文件位于 E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog。
正在回滚程序集“E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe”。
受影响的参数是:
logtoconsole =
assemblypath = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.exe
logfile = E:\Project\cnlClub\ShareService\bin\Debug\ShareService.InstallLog
正在将事件日志还原到源 CNL ShareService 的前一状态。“回滚”阶段已成功完成。急求解决方案、
解决方案 »
- 实现一个用Cookie做的购物车
- .net 新浪微博oauth认证后如何取用户信息
- VIEW与Controllers多层文件夹时,Controllers如何定向VIEW
- ASPxDateEdit控件问题
- 还是repeter相关问题
- Response.Expires有什么作用?
- 100分求助,关于在asp.net中操作word文档的问题,以及PostBack问题。大侠帮忙看看呀
- 关于数据库查询记录的问题
- 窗体程序调用dll,出错。
- 怎样控制工具栏中的后退和前进按钮?请高手指点.
- 【问问】Jquery 在gridview应用问题
- Request.QueryString["id"] 取回来的数据,不安全怎么办?
http://hzhlu.javaeye.com/blog/841691
cmd 用管理员、???