原因是IIS没有.net4.5
下载Dism++工具,解压之后,双击Dism++ x64.exe。
此时打开cmd,
依次输入以下命令
dism /online /enable-feature /featurename:IIS-ISAPIFilter dism /online /enable-feature /featurename:IIS-ISAPIExtensions dism /online /enable-feature /featurename:IIS-NetFxExtensibility45 dism /online /enable-feature /featurename:IIS-ASPNET45
安装完成之后,就可以了