【问题标题】:Visual Studio webdeploy fail even when connection is validated?即使验证连接,Visual Studio webdeploy 也会失败?
【发布时间】:2016-01-31 17:16:13
【问题描述】:

我正在尝试部署我的 webapp VS2015 RC1 DNX 451。即使我验证连接并运行发布,我也会收到错误

Severity    Code    Description Project File    
Error       Error Code: ERROR_USER_UNAUTHORIZED     
Error       More Information: Connected to the remote computer ("crocus.arvixe.com") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.       
Error       Error: The remote server returned an error: (401) Unauthorized. 

谷歌搜索问题,甚至尝试查看主机论坛只是说确保用户名和密码正确。我在尝试各种设置时无处可去。任何想法如何调试问题?

我使用 Arvixe.com 作为主机。

【问题讨论】:

    标签: visual-studio visual-studio-2015 webdeploy


    【解决方案1】:

    您应该联系Arvixe.com。他们的服务器上可能有一些奇怪的配置,但我怀疑他们可以帮助您解决问题。

    【讨论】:

    • 我联系了他们,但问题没有解决,他们正在咨询高层管理人员,但我
    【解决方案2】:

    Arvixe 不再支持 Web 部署。一旦他们将您移至他们的新服务器,您将无法使用 Web Deploy。在 Visual Studio 中,您可以设置使用 FTP 而不是 Web 部署的发布。如果您习惯于通过 Web 部署发布您的数据库更改,那么您需要自己使用 SQL 脚本来完成这些操作。 Entity Frameworks 可以选择为迁移生成 SQL 脚本,因此您可以使用它来发布您的 EF 数据库更改。

    【讨论】:

      猜你喜欢
      • 2011-02-11
      • 2014-01-13
      • 2018-07-02
      • 1970-01-01
      • 1970-01-01
      • 2018-12-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多