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


  安装WCF服务-安装Windows服务(System.ComponentModel.Win32Exception:远程过程调用失败)
“安装”阶段发生异常。System.ComponentModel.Win32Exception:远程过程调用失败!

解决方案:
关掉杀毒软件,如360安全卫士,或者在杀毒软件内添加文件信任。


附上提示信息:


C:\Windows\Microsoft.NET\Framework\v4.0.30319>installUtil.exe C:\Users\Administr
ator\Desktop\WindowsService1\WindowsService1\WindowsService1\bin\Debug\WindowsSe
rvice1.exe
Microsoft(R) .NET Framework 安装实用工具版本 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.


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

查看日志文件的内容以获得 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...

在“安装”阶段发生异常。
System.ComponentModel.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 的前一状态。

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

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

//来源:C/S框架网(www.csframework.com) QQ:1980854898


版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
C/S框架网
上一篇:C/S框架网新图标LOGO
下一篇:使用批处理文件安装或卸载WCF服务(Windows服务)
评论列表

发表评论

评论内容
昵称:
关联文章

安装WCF服务-安装Windows服务System.ComponentModel.Win32Exception:远程过程调用失败
使用批处理文件(.bat)安装WCF服务失败解决方案
如何在Windows服务安装和部署WCF服务器?
调用WCF服务System.ServiceModel.ServiceActivationException:"无法激活请求的服务"
C# ASP.NET WebApi服务器搭建详解 - Win服务承载(Windows Service Hosting宿主)
使用批处理文件安装或卸载WCF服务(Windows服务)
WCF:SecurityNegotiationException 调用方未由服务进行身份验证
C# 使用cmd命令安装及卸载WCF Windows 服务
承载 Service Host 和使用 WCF 服务
Win XP系统安装.NET Framework 4.0失败:一般信任关系失败解决方案
C# 使用cmd命令卸载WCF Windows 服务
WCF开发框架-客户端采用Windows身份认证调用HTTPS协议WCF接口
CSFramework平台的WCF体系架构 (Win服务承载与透明代理)
C/S系统快速开发平台采用Windows服务承载的WCF服务器
Windows服务允许服务使用界面交互(C#/ProjectInstaller)
C#编码直接调用WCF服务时协议参数设置
使用dos命令强制停止Windows服务
vs使用透明代理工厂方式调用HTTPS协议的WCF服务
连接WCF服务错误:调用方未由服务进行身份验证,无法满足对安全令牌的请求
WCF服务错误:System.TimeoutException: 请求通道在等待 00:01:00 以后答复时超时

热门标签
.NET5 .NET6 .NET7 APP Auth-软件授权注册系统 Axios B/S B/S开发框架 Bug Bug记录 C#加密解密 C#源码 C/S CHATGPT CMS系统 CodeGenerator CSFramework.DB CSFramework.EF CSFrameworkV1学习版 CSFrameworkV2标准版 CSFrameworkV3高级版 CSFrameworkV4企业版 CSFrameworkV5旗舰版 CSFrameworkV6.0 DAL数据访问层 Database datalock DbFramework Demo教学 Demo下载 DevExpress教程 DOM EF框架 Element-UI EntityFramework ERP ES6 Excel FastReport GIT HR IDatabase IIS JavaScript LINQ MES MiniFramework MIS NavBarControl Node.JS NPM OMS ORM PaaS POS Promise API Redis SAP SEO SQL SQLConnector TMS系统 Token令牌 VS2022 VSCode VUE WCF WebApi WebApi NETCore WebApi框架 WEB开发框架 Windows服务 Winform 开发框架 Winform 开发平台 WinFramework Workflow工作流 Workflow流程引擎 版本区别 报表 踩坑日记 操作手册 代码生成器 迭代开发记录 基础资料窗体 架构设计 角色权限 开发sce 开发技巧 开发教程 开发框架 开发平台 开发指南 客户案例 快速搭站系统 快速开发平台 秘钥 密钥 权限设计 软件报价 软件测试报告 软件简介 软件开发框架 软件开发平台 软件开发文档 软件体系架构 软件下载 软著证书 三层架构 设计模式 生成代码 实用小技巧 收钱音箱 数据锁 数据同步 微信小程序 未解决问题 文档下载 喜鹊ERP 喜鹊软件 系统对接 详细设计说明书 行政区域数据库 需求分析 疑难杂症 蝇量级框架 蝇量框架 用户管理 用户开发手册 用户控件 在线支付 纸箱ERP 智能语音收款机 自定义窗体 自定义组件 自动升级程序