IIS でHTTP 404.3 Not Found エラーコード 0x80070032 の解決方法

Windows
スポンサーリンク

Windows 10のIIS (インターネットインフォメーションサーバー) でHTTPエラー 404.3 Not Found エラーコード 0x80070032となった。

原因と解決方法をまとめてみました。

スポンサーリンク

IIS でHTTPエラー 404.3 Not Found エラーコード 0x80070032

HTTP 404 Not Found は、アクセスしたけれど見つからなかったっていうエラーです。

一般的な原因は次の通りです。

https://urashita.com/archives/21475

 

 

今回、発生したエラー画面は次の通りです。

 

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is script, add a handler. If the file should be downloaded, add a MIME map.

 

Most likely causes:

  • It’s possible a handler mapping is absent. By default, the static file handler functions all content.
  • The feature you want to use might not be installed.
  • The correct MIME map is not allowed for the application or website. (Cautionary: Do not make a MIME map for content that users shouldn’t download like .config files or .aspx pages)
  • If ASP.NET doesn’t installed.

 

Things you can try:

  • In system.webServer/handlers:
    • Ensure that the expected handler for the current page is mapped.
    • Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
    • Pay extra attention to typographical errors in the expected handler line.
  • Please verify that the feature you are trying to use is installed.
  • Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
    • To set a MIME type, run the following command in the IIS Express install directory: appcmd set config /section:staticContent/+[fileExtension=’string’,mimeType=’string’]
    • The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
    • For example, to add a MIME map for a file which has the extension “.xyz”: appcmd set config /section:staticContent /+[fileExtension=’.xyz’,mimeType=’text/plain’]
  • Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
  • Install ASP.NET.
  • Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

 

Detailed Error Information:

Module  StaticFileModule

Notification  ExecuteRequestHandler

Handler  StaticFile

Error Code  0x80070032

 

HTTP 404.3 Not Found エラーの原因

ASP.NETがインストールされていない時に、このエラーが発生するようです。

IISをVisual Studioや .NET Framework の後にインストールした時などに発生するようです。

 

HTTP 404.3 Not Found エラーの解決方法

ASP.NETをインストールします。

 

Windows 8または、Windows 10では次のように行います。

「コントロールパネル」を開きます。

「プログラム」を開きます。

「プログラムと機能」を開きます。

「Windowsの機能の有効化または無効化」を開きます。

「インターネットインフォメーションサービス」を展開します。

「World Wide Webサービス」を展開します。

「アプリケーション開発機能」を展開します。

「ASP.NET 4.7」にチェックを入れて「OK」を押します。

 

 

Windows
スポンサーリンク
スポンサーリンク
うらしたをフォローする
スポンサーリンク
urashita.com 浦下.com (ウラシタドットコム)

コメント

タイトルとURLをコピーしました