最近公司要是哟该Visual studio的ClickOnce部署windows应用程序给客户挑刺,结果姐遇到了问题,最后终于解决。分享如下:
(具体部署方式就不介绍了,网上一搜一大把)
具体问题:
部分XP电脑在点击安装时候报错:
Application download did not succeed .Check your network connecton,or contact your system administrator or network service provider.
部分浏览器显示中文: 部分应用程序下载未成功。请检查网络连接,或与系统管理员或网络服务提供商联系。
这问题真确实让我今天伤透了脑筋,
官方提供的的答案是:ClickOnce 无法建立到服务器的网络连接。请检查服务器的可用性和网络的状态。
晕,我都能打开服务器网站还需要检查什么网络连接呢?
部分老外的网站也关注了,也就是些
a) Give the user the link to the .application file instead of to the setup.exe and see if that helps at all (probably not).
b) Turn off the user's firewall and try it again.