vs clickonce 发布应用程序到远程站点

feng8080 2014-10-23 06:03:37
远程服务器上 Internet Information Services 和 IIS 6 Metabase and IIS 6 Configuration Compatibility都是安装好的,
服务器上的网站在本地能够通过IP+端口成功访问,但通过administrator权限VS发布时提示指定网站不能访问,IIS没有安装,不知有朋友能不能解决。
错误提示:
Failed to connect to 'http://172.27.64.53/' with the following error: Unable to open the Web site 'http://172.27.64.53/'. IIS is not installed on this computer. To access local IIS Web sites, you must install all of the following Windows components:

Internet Information Services
IIS 6 Metabase and IIS 6 Configuration Compatibility
ASP.NET

In addition, you must run Visual Studio in the context of an administrator account. By default, Windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator. To run Visual Studio with administrative privileges, right-click the Visual Studio icon and then click 'Run as administrator'.
...全文
406 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
feiyun0112 2014-10-24
  • 打赏
  • 举报
回复
IIS 6 Metabase and IIS 6 Configuration Compatibility
要装这个组件
feng8080 2014-10-23
  • 打赏
  • 举报
回复
sp1234: 我做的不是web,是一个windows应用程序,这个应用程序做好通过clickonce放在服务器上,客户机可以下载安装,服务器有新版本是客户机可以检测到更新,自动安装,并不是是做的web应用程序
  • 打赏
  • 举报
回复
Web网站只要将文件复制上去就行了,不需要任何特别的手动部署配置。所以你使用 FTP,或者 TeamViewer,或者 NetLoader 等等任何一款传送文件的工具就行了,不要用微软的什么“Frontpage发布”! 所有站长都使用 FTP 上传,你为什么不用呢? 在 vs 上网站发布在“本地”,然后一键上传。

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧