将我的asp.net核心Web应用程序2.2部署到azure并收到此错误 [英] Deploy my asp.net core web app 2.2 to azure and getting this error

查看:239
本文介绍了将我的asp.net核心Web应用程序2.2部署到azure并收到此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


hi ..


我是azure的新手。我刚刚将我的asp.net core 2.2 web应用程序发布到azure,我收到以下错误。 

hi..

I am new to azure. i just published my asp.net core 2.2 web app to azure and i get the below error. 

我不知道如何调试并修复此错误。

I don't know how to debug and fix this error.

需要帮助。

谢谢


  • 找不到指定版本的Microsoft.NetCore.App或Microsoft.AspNetCore.App。
  • 正在处理请求处理程序,Microsoft.AspNetCore.Server.IIS,未在应用程序中引用。
  • ANCM找不到dotnet。

  • 检查系统事件日志中是否有错误消息
  • 启用日志记录应用程序进程' stdout消息
  • 将调试器附加到应用程序进程并检查

推荐答案

嘿,

Hey,

您可以使用Azure门户中的诊断和解决问题刀片来访问应用程序事件日志。您可以在  Kudu  远程
执行控制台以发现错误。

You can access Application event log using Diagnose and solve problems blade from Azure Portal. You can run the app in the Kudu Remote Execution Console to discover the error.

有关调试错误,请访问kudu站点(https://yourwebapp.scm.azurewebsites.net/DebugConsole)>打开调试控制台>选择CMD>站点> wwwroot。如果您没有提供aspnetcore-debug.log
文件的路径,该文件出现在列表中。如果您提供了路径,请导航到日志文件的位置。

For debugging error go to kudu site(https://yourwebapp.scm.azurewebsites.net/DebugConsole)> open debug console> select CMD>site> wwwroot. If you didn't supply a path for the aspnetcore-debug.log file, the file appears in the list. If you supplied a path, navigate to the location of the log file.

然后用文件名旁边的铅笔按钮打开日志文件。

Then Open the log file with the pencil button next to the file name.

 

你可以参考下面的链接可能会有所帮助:

You may refer below links might be helpful:

 

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/azure-apps/troubleshoot?view=aspnetcore-2.2

 

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/azure-iis-errors-reference?view=aspnetcore-2.2











这篇关于将我的asp.net核心Web应用程序2.2部署到azure并收到此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆