模糊的Azure应用服务流程

模糊的Azure应用服务流程

本文介绍了模糊的Azure应用服务流程/部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MSDN,

通过将Web应用程序部署到Azure Web App部署插槽中,我已经完成了许多成功的Azure Web App部署.在我的Azure部署插槽测试"中,我发布并运行了该版本的调试版本, 没有问题.接下来,我在发行版"中重建了完全相同的应用程序.配置,但这次部署失败,提示我" HTTP错误502.5-进程失败" . 我将从何处开始调查此问题,以更好地理解为什么从调试"配置发布的应用程序可以正常运行,而从发布"配置发布的应用程序却不能正常运行?

I have performed a fair number of successful Azure web app deployments, via deploying a web app into an Azure web app deployment slots. In my Azure deployment slot "test", I published and ran the debug version of the build with absolutely no issues. Next, I rebuilt the exact same app in the "release" configuration but this time the deployment fails giving me an "HTTP Error 502.5 - Process Failure" error. Where would I begin to investigate this issue to better understand why the app published from the 'debug' configuration works, while the app published from the 'release' configuration does not?

非常感谢,

韦恩·杰克逊

圣地亚哥州立大学UCS操作系统分析师

Operating Systems Analyst, UCS DevOps at San Diego State University

推荐答案

注意-如果您使用的是Release版本,则可以在网络中禁用调试功能发布时的.config文件.请参考文件在Visual Studio 2017中Azure上的IIS上的IIS上进行远程调试ASP.NET Core ,以获取有关部署过程的更多详细信息,并查看您的配置文件.

如果问题仍然存在,请查看应用程序日志以获取有关
502.5-进程失败 并进一步隔离:带有ASP.NET Core的Azure App Service和IIS的常见错误参考.

Note- If you use a Release build, you disable debugging in the web.config file when you publish. Please refer the documentRemote Debug ASP.NET Core on IIS in Azure in Visual Studio 2017 for more details on the deployment process and review your configuration files.

If the issue persists, kindly review the Application Log to fetch more details on the
502.5 -process failure and isolate further:Common errors reference for Azure App Service and IIS with ASP.NET Core.

请让我们知道如何上面提供了有关您的应用程序框架的更多详细信息,以供进一步研究.


这篇关于模糊的Azure应用服务流程/部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 11:07