The error is shown
Solution 1: Open IIS Manager — select application pool right click — Set application pool default Settings… — Modify two marks in the figure
Use the knowledge point:
1. Application Pools
Explanation: A configuration that links one or more applications to one or more worker process collections. Because applications in the application pool are separated from other applications by worker process boundaries, applications in one application pool are not affected by problems caused by applications in other application pools
Understanding: An application pool is a box in which programs are placed, acting as a program isolation to prevent the crash of one site from affecting other programs.
For example, an application pool is like a classroom, and a website is like a class. A class corresponds to a classroom. Classes of different classes do not affect each other.
2. Pipeline mode
Classic :(Classic mode) to process an ASP.NET application, exit the pipe, pass the application into the ASP.NET ISAPI filter, pass ISAPI processing, and return an HTTP response to the pipe and back to the client. (can only handle ASP.NET applications)
Integrated :(integration mode) integrate ASP.NET into the pipeline. Whether ASP.NET applications or non-asp. Net applications are processed in the pipeline, regardless of the application type.
Solution 2:
Double click Authentication on your own website, change the status of ASP.NET simulation to enable, change the problem again appeared, and then I changed to disable, it is ok (through repeated operation verification, I think is caused by the problem in solution 2, so solution 2 is the real solution to this problem)