Regarding the "HTTP Error 500.19-Internal Server Error" and other errors on the IIS publishing website and their solutions

1. Problem description

An "HTTP Error 500.19-Internal Server Error" error occurred when publishing the IIS website, and the requested page could not be accessed because the related configuration data of the page was invalid. details as follows:

Configuration source:

  107:         <staticContent>
  108:             <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
  109:             <mimeMap fileExtension=".ogv" mimeType="video/ogg" />

 

2. Solution

Comment out the problem code first, otherwise you cannot open the MINI type setting window on your behalf, and an error will be reported. This code is mainly used for playing videos.

Open the MINI type window, add the type,

If the display already exists, there is no need to add it and keep the comment status.

The following problems occurred subsequently,

The managed pipeline mode is changed to classic, because the iis version 6.0 is used

The problems continue to occur as follows:

Update ASP.NET

Continue to report errors:

The office with its own access has been installed on this computer, right-click the properties to open the "application pool default settings", and set the "start 32-bit application" to "True"

Then the web.config file reported an error again.

Add a line of code

The problem is solved, the page program is started normally

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/soderayer/article/details/114519252