Clickonce部署使用过程中遇见的错误

Clickonce部署使用过程中的错误

找不到 Knt.Spa.WinForms.exe.manifest  文件,为虚拟目录创建应用程序,然后取消即可 2012-10-17

ClickOnce安装路径:

WIN7操作系统:C:\Users\DELL(即用户名)\AppData\Local\Apps\2.0

其它操作系统:C:\Documents and Settings\Administrator\Local Settings\Apps\2.0,需打开显示所有文件。

安装客户出现dll文件不是有效的PE文件时:

错误:

+ Exception occurred loading manifest from file Microsoft.ReportViewer.Common.dll: the manifest may not be valid or the file could not be opened.
  + File Microsoft.ReportViewer.Common.dll is not a valid Portable Executable (PE) file.
  + PE file does not have enough data.

解决:

1.      Try uninstalling the application and reinstalling it. [you did that]

2.      Try running:  mage -cc   [you did that]

3.      Delete the ClickOnce application store [you did part of this]

a.      Make sure the DFSVC.EXE process isn’t running – if it is, try killing the process

b.      Delete the application store folder %userprofile%\Local Settings\Apps

c.      Delete the folder %userprofile%\Local Settings\Apps

d.      Delete HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment

注意:一般关掉 DFSVC.EXE进程,然后再安装即解决。


发布时错误提示:签名时出错: 指定了无效的提供程序类型

今天也是百度一晚上 最后还是自己解决 突然想起来vba有签名工具的 安装的office后 在开始菜单office工具里有个vba数字证书工具
用这个 生成一个证书 然后你将会在vs里签名那里点从存储区选择  奇迹发生了 刚才创建的证书就在这里 点它安装 居然就痛过 成功运行!


 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值