1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ASP.NET > ASP.NET Core > HTTP Error 502.5 - Process Failure

Last updated at Posted at 2017-12-07

HTTP Error 502.5 - Process Failure

以下のような画面のエラーが出た場合

image

Common causes of this issue: 
• The application process failed to start 
• The application process started but then stopped 
• The application process started but failed to listen on the configured port 

Troubleshooting steps: 
• Check the system event log for error messages 
• Enable logging the application process' stdout messages 
• Attach a debugger to the application process and inspect 

For more information visit:  https://go.microsoft.com/fwlink/?LinkID=808681 

web.configの設定が間違っている場合があるようです。

HTTP Error 502.5 - Process Failure" asp.net core 2 error in Azure · Issue #406 · aspnet/IISIntegration

asp.net core2 のweb.configの初期状態は以下

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="dotnet" arguments=".\MarketingMetric.Web.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
  </system.webServer>
</configuration>
<!--ProjectGuid: d17d575b-0ed7-4c21-a91d-106c04de5c12-->
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?