When I was testing the website today, when I entered http://localhost/ in the browser, the following error occurred:
HTTP Error 500.21-Internal Server Error
Handler “WebServiceHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list.
I looked for the reason on the Internet, and the result was
Reason: After installing Framework v4.0, enable IIS, resulting in the Framework not being fully installed
Solution: Start -> All Programs -> Accessories -> Right-click on “Command Prompt” -> Run as Administrator ->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i