博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
修正使用ClickOnce升级程序遇到HRESULT: 0x800736B3问题
阅读量:7073 次
发布时间:2019-06-28

本文共 1113 字,大约阅读时间需要 3 分钟。

解释方法参考微软MSDN解释

 

Sometime when I start my Click Once application I have an exception "The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)".

After this message, I can't restart my application, and if I uninstall with "remove program" my application doesn't uninstall.
I found many post to solve this problem, but none to describe the causes.
The only solution is to uninstall all Click Once applications (if the application wants to uninstall), deleted the folder "%userprofile%\Local Settings\Apps", and reinstall all my Click Once applications.
In my environment we use 5 Click Once applications from 180 sessions (computers and terminal server sessions), and problems occur on several computers and on different applications.
It happens spontaneously and I would like to know the cause.
I join the log file from Click Once.

 

参考网址:

 

为了方便使用,我写了一个BAT程序,直接执行,代码很简单,具体如下:

 

@echo offcd %userprofile%\Local Settings\Apps\rd 2.0 /s/q@echo Remove old version done. Please click any key to continue.pause

代码下载地址:

转载于:https://www.cnblogs.com/songhaipeng/archive/2012/06/12/2546823.html

你可能感兴趣的文章
解决软件提示unable to find a version of runtime to
查看>>
第二课unit3 系统延迟及定时机制
查看>>
十二月机房考核
查看>>
shell 类型
查看>>
网页中meta标记
查看>>
python爬虫笔记-day5
查看>>
Jenkins+newman 控制台输出样式
查看>>
公司业务转型,IT基础架构也要转型,京东云Docker容器集群微服务实践
查看>>
解释try_files $uri $uri/ /index.php$is_args$args;
查看>>
营销圈也可以提供类似“不涂口红的你”的创意文案?
查看>>
【源码分享】短信验证码功能对接CmsEasy
查看>>
学习linux入门之top命令的用法介绍
查看>>
MySQL的基础分部
查看>>
aix knowlgdgecenter
查看>>
好程序员分享JavaScript事件委托代理和函数封装详解
查看>>
VMWARE 占用硬盘空间只增大不减少的清理办法
查看>>
oracle技术之系统触发器的应用顺序(三)
查看>>
oracle RMAN备份FORMAT格式中%a的含义
查看>>
Oracle11gr2数据泵新特性(四)
查看>>
Oracle 11g r2数据泵新特性(一)
查看>>