win10IIS访问不了站点,安装.net4.5

win10环境已有.net4.5以上版本,IIS无法访问站点,需要安装.net4.5,aspnet_regiis.exe -i命令无法安装.net4.5

利用dism工具依次执行下面命令安装

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

 

posted @ 2020-08-14 09:35  心怀武侠梦  阅读(538)  评论(0编辑  收藏  举报