Publishing a Web site on IIS is not the first time, almost every release will encounter the same problem, but each encounter the same problem, or repeat the original steps, and then to check again to solve, not only to spend a lot of time, and always futile and reactive! The reason, or not in time to summarize their problems, and in-depth understanding. So, this time, I have to record some of the problems I encountered, and understand, so that after the encounter can no longer do no work!
1, IIS publishes HTTP error 500.19 Internet Server Error
In the case of the above problems, my Solution: Control Panel--------------Start or Shut down Windows features--internet information service--World Wide Web service--tick the items on the picture. Analysis of the reasons, mainly the need for asp.net3.5 support.
2. IIS publishes HTTP error 404.3 not Found
There is a missing MIME mapping: First look at what MIME: MIME (Multipurpose Internet Mail Extensions) Multipurpose Internet Mail Extension type. Is the type of file that sets the extension of an application to be opened by an app, and when the extension file is accessed, the browser automatically opens with the specified application. Many are used to specify some client-customized file names, as well as some ways to open media files.
The solution for this error is as follows:
1. First add MIME mapping type
I am using the Win8.1 system, IIS8.5, which does not support the. svc file in the WCF service by default, so you need to add the MIME mapping type for this type of file, as follows:
File extension:. Svc,mime type:application/octet-stream
Of course, some computers open IIS, found that the MIME type is not found in this label, what is the reason, it should be your IIS information Services installed content is not comprehensive, and then re-open, install the necessary options, restart the computer.
2. Processing program Mappings
Request Path: *.svc
Type: System.ServiceModel.Activation.HttpHandler
Name: svc-integrated
After the above setup, you can publish the website normally.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Summary of issues encountered with publishing Web sites on IIS