出现问题的原因是先装了.NET4.0,再装IIS造成
处理方法:管理员权限执行cmd, C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i,回车