简体   繁体   English

Asp net core 在 azure 应用服务上发布 500 服务器错误

[英]Asp net core publish on azure app services 500 server error

I am trying to publish my existing asp net core 2.0 web application to azure app services.我正在尝试将我现有的 asp net core 2.0 web 应用程序发布到 azure 应用程序服务。 My app is working in debug on my computer.我的应用程序正在我的计算机上调试。 I followed this tutorial [link] https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-dotnet-sqldatabase .我遵循了本教程 [链接] https://docs.microsoft.com/en-us/azure/app-service-web/app-service-web-tutorial-dotnet-sqldatabase Everything went smooth without errors.一切顺利,没有错误。 But when I go to the webpage I just get a very helpful 500 error.但是当我访问网页时,我得到了一个非常有用的 500 错误。 What can I do?我能做什么? How to debug?如何调试? Im new to azure.我是天蓝色的新手。

Thank you谢谢

You need a way to remotely view the exception in order to get more information for debugging.您需要一种远程查看异常的方法,以便获得更多调试信息。 Here is a helpful doc on setting up Remote Debugging.这是有关设置远程调试的有用文档。 https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure

Check out the section "Remote Debug ASP.NET Core on an Azure App Service"查看“在 Azure 应用服务上远程调试 ASP.NET Core”部分

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

相关问题 将带有类库的ASP.Net Core Web App发布到Azure时在主页上出现500错误 - Getting 500 Error on Home page when publishing ASP.Net Core Web App with class library to Azure Azure ASP.NET Core-新文件错误500 - Azure ASP.NET Core - Error 500 for new files 部署在 iis 上的 asp.net 核心应用程序遇到 500 内部服务器错误 - asp.net core app deployed on iis meets 500 internal server error ASP.NET Core Web API 500内部服务器错误 - ASP.NET Core Web API 500 Internal Server Error JWT OpenIddict和ASP.Net Core 500内部服务器错误 - JWT OpenIddict and ASP.Net Core 500 Internal Server Error 将ASP.Net Core 3预览6发布到Azure - Publish an ASP.Net Core 3 preview 6 to Azure ASP.NET 5(vNext)在Azure上导致500 - 内部服务器错误 - ASP.NET 5 (vNext) causing a 500 - Internal Server Error on Azure 从 ASP.NET 核心应用程序连接到 Azure 密钥库时刚开始收到 HTTP 500 错误 - Just started getting an HTTP 500 error when connecting to Azure Key Vault from an ASP.NET Core app 在TFS构建服务器上发布ASP网络核心 - publish asp net core on TFS build server 如何将 Blazor Web 程序集与 ASP.NET 核心托管和身份验证应用程序发布到 ZCF04A02E37B774FC3917A 服务? - How to publish Blazor Web assembly with ASP.NET core hosting and identity auth app to azure App Service?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM