Recently, there have been many problems with IIS, such as asp being unable to run, and the files running cshtml cannot be explained. I have read a lot of information on the Internet and I know it is a problem with Windows Process activation service. Neither IIS nor Windows Process activation service can be re-installed.Article:
Http://support.microsoft.com/kb/976982
Follow these steps to install IIS and Windows Process activation service.
Download dotnetfx_cleanup_tool.zip: http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-08-90-44-93/dotnetfx_5F00_cleanup_5F00_tool.zip
2. Use dotnetfx_cleanup_tool to clear the. NET Framework.
3. Restart the machine
4. reinstall Windows Process activation Service (if it is already installed, uninstall and restart it before installation)
5. reinstall. NET Framework
As long as the Windows Process activation service can be properly installed and started, IIS can be correctly installed and used.