zoukankan      html  css  js  c++  java
  • windows服务安装(System.ComponentModel.Win32Exception:远程过程调用失败)

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

    附上提示信息
    C:WindowsMicrosoft.NETFrameworkv4.0.30319>installUtil.exe C:UsersAdministr
    atorDesktopWindowsService1WindowsService1WindowsService1inDebugWindowsSe
    rvice1.exe
    Microsoft(R) .NET Framework 安装实用工具版本 4.0.30319.1
    Copyright (c) Microsoft Corporation.  All rights reserved.


    正在运行事务处理安装。
    正在开始安装的“安装”阶段。

    查看日志文件的内容以获得 C:UsersAdministratorDesktopWindowsService1WindowsS
    ervice1WindowsService1inDebugWindowsService1.exe 程序集的进度。
    该文件位于 C:UsersAdministratorDesktopWindowsService1WindowsService1Window
    sService1inDebugWindowsService1.InstallLog。
    正在安装程序集“C:UsersAdministratorDesktopWindowsService1WindowsService1W
    indowsService1inDebugWindowsService1.exe”。
    受影响的参数是:
       logtoconsole =
       logfile = C:UsersAdministratorDesktopWindowsService1WindowsService1Wind
    owsService1inDebugWindowsService1.InstallLog
       assemblypath = C:UsersAdministratorDesktopWindowsService1WindowsService1
    WindowsService1inDebugWindowsService1.exe
    正在安装服务 Service1...
    正在日志 Application 中创建 EventLog 源 Service1...

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

    正在开始安装的“回滚”阶段。
    查看日志文件的内容以获得 C:UsersAdministratorDesktopWindowsService1WindowsS
    ervice1WindowsService1inDebugWindowsService1.exe 程序集的进度。
    该文件位于 C:UsersAdministratorDesktopWindowsService1WindowsService1Window
    sService1inDebugWindowsService1.InstallLog。
    正在回滚程序集“C:UsersAdministratorDesktopWindowsService1WindowsService1W
    indowsService1inDebugWindowsService1.exe”。
    受影响的参数是:
       logtoconsole =
       logfile = C:UsersAdministratorDesktopWindowsService1WindowsService1Wind
    owsService1inDebugWindowsService1.InstallLog
       assemblypath = C:UsersAdministratorDesktopWindowsService1WindowsService1
    WindowsService1inDebugWindowsService1.exe
    正在将事件日志还原到源 Service1 的前一状态。

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

    已完成事务处理安装。
    安装失败,已执行回滚。

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

  • 相关阅读:
    20191224 Spring官方文档(Overview)
    20191224 Spring官方文档(启动)
    20191209 【归档】Linux就该这么学
    20191209 Linux就该这么学(6)
    20191209 Linux就该这么学(5)
    20191209 Linux就该这么学(4)
    20191209 Linux就该这么学(1-3)
    20191128 Spring Boot官方文档学习【目录】
    加密在卷积神经网络上的应用
    Federated Optimization: Distributed Machine Learning for On-Device Intelligence
  • 原文地址:https://www.cnblogs.com/lss111520/p/3337240.html
Copyright © 2011-2022 走看看