如果先装IIS,然后再装.net的话,没有问题. 但是如果顺序反了的话,需要在命令行里面执行 C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i