繁体   English   中英

将 ASP.NET Core 应用程序发布到 Azure 不起作用

[英]Publish ASP.NET Core app to Azure not working

我逐行按照这里的步骤进行操作:

https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-3.1

但是我在尝试发布应用程序时不断收到此错误:

Severity    Code    Description Project File    Line    Suppression State
Error       Web deployment task failed. ((4/10/2020 10:26:03 PM) An error occurred when the request was processed on the remote computer.)

(4/10/2020 10:26:03 PM) An error occurred when the request was processed on the remote computer.
The database 'WebApplication1_db' could not be created. WebApplication1     0   

有人可以指出我正确的方向吗? 这个错误是什么意思? 是代码的问题吗? 蔚蓝? 我如何开始尝试诊断问题? 我可以运行哪些测试? 我已经花了很多年的时间,无法弄清楚。

谢谢!

根据官方文档,以下是我的步骤。 官方文档和部署步骤都正常。 如果还有疑问,建议重装VS2019或者更换电脑再试,可能是电脑环境问题。

步骤如下:

第1步。

在此处输入图片说明

第2步。

在此处输入图片说明

第 3 步。

在此处输入图片说明

第四步。

在此处输入图片说明

第 5 步。

在此处输入图片说明

第 6 步。

在此处输入图片说明

第 7 步。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM