[英]Publish ASP.NET Core app to Azure not working
I am literally following the steps here line by line:我逐行按照这里的步骤进行操作:
https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-3.1 https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-azure-webapp-using-vs?view=aspnetcore-3.1
But I keep getting this error when trying to publish the app:但是我在尝试发布应用程序时不断收到此错误:
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
Can someone please point me in the right direction?有人可以指出我正确的方向吗? What does this error mean?
这个错误是什么意思? Is it an issue with the code?
是代码的问题吗? Azure?
蔚蓝? How do I start trying to diagnose the issue?
我如何开始尝试诊断问题? What tests can I run?
我可以运行哪些测试? I've spent ages on this and can't figure it out.
我已经花了很多年的时间,无法弄清楚。
Thanks!谢谢!
According to the official documentation, the following are my steps.根据官方文档,以下是我的步骤。 The official documentation and deployment steps are normal.
官方文档和部署步骤都正常。 If you still have any doubts, it is recommended to reinstall VS2019 or replace the pc and try again, which may be due to the computer environment.
如果还有疑问,建议重装VS2019或者更换电脑再试,可能是电脑环境问题。
The steps are as follows:步骤如下:
Step 1.第1步。
Step 2.第2步。
Step 3.第 3 步。
Step 4.第四步。
Step 5.第 5 步。
Step 6.第 6 步。
Step 7.第 7 步。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.