这是因为先安装了.Net,后再安装IIS造成的,要使用 aspnet_regiis -i 指令重新注册IIS。 此指令在Windows的.Net 动态库目录下。 转载于:https://www.cnblogs.com/islee/archive/2008/03/04/1089841.html