以前都是用aspnet_regiis -I 命令向IIS注册asp.net ,今天换了win8.1后竟然发现这招不好使了。
根据提示,需要用dism.exe来完成注册。
折腾一会儿后,问题最终解决: dism /online /enable-feature /featurename:IIS-ASPNET45 /all