美文网首页
VS使用Web Deploy发布

VS使用Web Deploy发布

作者: 拎壶冲da | 来源:发表于2017-02-27 19:18 被阅读336次
    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

    相关文章

      网友评论

          本文标题:VS使用Web Deploy发布

          本文链接:https://www.haomeiwen.com/subject/wcgowttx.html