在Visual Studio中将漫游器部署到Azure时发布错误

时间:2018-11-11 11:35:33

标签: c# visual-studio azure botframework

我有一个在Visual Studio 2017中使用Bot Framework v4的机器人,并且没有资源和资源组的干净Azure订阅。

我遵循了this教程,将机器人部署到了Azure。

它第一次运行,但是在浏览器中,页面显示了“内部服务器错误”消息。

因此,我删除了所有资源及其组,撤消了发布对Visual Studio中任何文件所做的所有更改。然后我一次又一次地尝试,得到相同的结果。

在发布模式下构建项目后,发布失败。我检查了Azure,并创建了App Service和App Service计划。

您有什么想法吗?

输出窗口: Error : Web deployment task failed. (Could not connect to the remote computer ("mybot.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.) The requested resource does not exist, or the requested URL is incorrect. Error details: Could not connect to the remote computer ("mybot.scm.azurewebsites.net"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE. The remote server returned an error: (404) Not Found. Publish failed to deploy.

Visual Studio生成了一个带有堆栈跟踪的.tmp文件:

11-Nov-18 13:19:02 System.AggregateException: One or more errors occurred. ---> System.Exception: Build failed. Check the Output window for more details. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.VisualStudio.Web.Publish.PublishService.VsWebProjectPublish.<>c__DisplayClass43_0.<PublishAsync>b__2() at System.Threading.Tasks.Task``1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ApplicationCapabilities.Publish.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__127.MoveNext() ---> (Inner Exception #0) System.Exception: Build failed. Check the Output window for more details.<---

0 个答案:

没有答案