刚接触ASP.NET,先装了.Net,后装IIS,碰到了该问题,解决方法:
开始菜单->运行->输入C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i