VS使用Web Deploy发布

web deploy.png

服务器:输入IP地址即可
站点名称:格式为”站点名称“/"应用程序名称"
用户密码即为上面我们配置的用户密码。
目标URL:一般格式:http://ip:端口号/y应用程序名称,在我们发布完成之后,浏览器会自动的打开这个url。

参考文章:
1、http://www.cnblogs.com/Jackson-Bruce/archive/2016/08/06/5739001.html
2、http://www.cnblogs.com/ensleep/p/4915016.html

遇到报错:
Could not connect to the remote computer ("10.0.3.102") using the specified process
("Web Management Service") because the server did not respond. Make sure that the process
("Web Management Service") is started on the remote computer. Learn more at:
http://go.microsoft.com/fwlink/LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.
The remote server returned an error: (403) Forbidden.

解决方法:
1、open "Add or remove" programs
2、Click on "Microsoft Web Deploy"
3、Click on "Change" button (besides "Uninstall")
4、Click on "Next" in

bQNRy.png

5、Click on "Change" in


zr0Gw.png

6、Add the features marked with red X


5tkRz.png

7、Finish the installation
Result: Publish from Visual Studio is working

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容