LoginSignup
7
7

More than 5 years have passed since last update.

ASP.NET > ASP.NET Core > HTTP エラー 500.19 0x8007000d

Last updated at Posted at 2017-12-07

HTTP エラー 500.19 - Internal Server Error

確かにASP.NET Core環境をインストールしたはずなんだが、500.19エラーが出る。。。
という時の対処メモです。

以下のようなエラーがでました。
HTTP エラー 500.19 - Internal Server Error
ページに関連する構成データが無効であるため、要求されたページにアクセスできません。

image

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>

Error 500.19 Internal server error on IIS- Stack Overflow

ASP.NET Core Module | Microsoft Docs

aspnet/AspNetCoreModule: ASP.NET Core Module for IIS and IIS Express

Windows Server Hosting bundle.

ANCM is included in the .NET Core Windows Server Hosting bundle.
https://aka.ms/dotnetcore-2-windowshosting

image

IISのハンドラーマップ > モジュールマップの追加 画面を表示します。
モジュール一覧にAspNetCoreModuleが追加されました。
image

これでうまく動けばOK
エラーがでれば以下へ

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

7
7
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
7
7