您的位置:首页 > 其它

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

2012-10-17 11:37 267 查看

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里签名那里点从存储区选择 奇迹发生了 刚才创建的证书就在这里 点它安装 居然就痛过 成功运行!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: