windows 10 iis 8 注册asp.net 4.5
2016-11-07 14:51 张小驴同学 阅读(2241) 评论(0) 编辑 收藏 举报http://stackoverflow.com/questions/32716434/register-net-4-5-iis-10-windows-10
I had the same issues which I have since fixed in VS 2015, my situation was:
- Update from Windows 7 --> Windows 10
- Installed VS 2015
- Enabled IIS so I could then open the management console & do lovely things
- I then tried to host a .net 4.5 Web API in my local IIS mentioned above
Result was 404 errors.
To fix:
- Open the Developer Command Prompt for VS2015 as Administrator
- Run
dism /online /enable-feature /all /featurename:IIS-ASPNET45
- The operation completed successfully
Lovely 200 responses...