(Original: http://blog.csdn.net/dingxu_ren/article/details/17607451)
Today, when I deployed the Web program on my computer, I found that the page was not open and the web search was made because of the installation of. NET after IIS was installed, and the Aspnet_regiis-i command was used to re-install the following, but the issue occurred when the command was run:
My Computer system is Windows 8 Chinese version 64 bit, when buying a computer preinstalled.
Based on its prompt, use the Turn off Windows feature to reinstall ASP. NET 4.5, no;
Then find the so-called "Service Manager" management tool, half a day not found ... Give up
Finally had to try DISM.exe command. This command has never been heard before, in the command line input "DISM" enter, look at the parameter hint, direct dizzy dish, too much!
Google for a moment to find such an article:
How to install ASP. 4.5 on Windows 8 and Windows Server 2012
Refer to the solution of this article, enter the command "Dism/online/enable-feature/featurename:iis-aspnet45", the result fails again, prompt:
It looks like you're going to have to install the three parent features and run the following three commands:
Dism/online/enable-feature/featurename:iis-isapifilter
Dism/online/enable-feature/featurename:iis-isapiextensions
Dism/online/enable-feature/featurename:iis-netfxextensibility45
After completion, run the "dism/online/enable-feature/featurename:iis-aspnet45" again and succeed.
Refresh the Web page and get it done!
Find a more complete IIS installation Tutorial:
http://msdn.microsoft.com/en-us/library/hh167503 (v=nav.71). Aspx#win8
WIN8 Installing ASP. NET 4.5 (RPM)