gpt4 book ai didi

azure - Web 部署遇到与服务器的连接问题,必须终止连接 - Azure 应用服务

转载 作者:行者123 更新时间:2023-12-03 02:15:47 26 4
gpt4 key购买 nike

在尝试从 Visual Studio 将 .NET 5 Web 应用部署到 Azure 应用服务时,我遇到了以下无用的错误窗口消息:

Publish has encountered an error. Build failed. Check the Outputwindow for more details.

A diagnostic log has been written to the following location:"C:\Users\SomeUser\AppData\Local\Temp\tmp6F34.tmp"

输出窗口出现以下错误:

Web Deploy experienced a connection problem with the server and had toterminate the connection. Contact your server administrator if theproblem persists. Learn more at:https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.Unexpected end of file has occurred. The following elements are notclosed: results. Line 1, position 550.

我尝试了概述的所有步骤 here在 MS 文档页面以及所有其他相关的 SO 答案中,但仍然无法完成这项工作。

最佳答案

经过对发布步骤的多次尝试和错误,我终于弄清楚了这一点。

这就是最后一步需要的样子:

本质上,选中“从包文件运行”复选框为我解决了这个问题。

最后,发布窗口如下所示:

关于azure - Web 部署遇到与服务器的连接问题,必须终止连接 - Azure 应用服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71145587/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com