Setting up a new development box for myself I had forgotten all about the necessity to use thecommand. The information is fairly easily available, but with this post I’d like to cut away the fat and stick to a very easy how-to.
On my Windows 8.1 aspnet_regiis resulted in this message:
Microsoft (R) http://go.microsoft.com/fwlink/?LinkID=216771.
Googling around a bit more turned up this link that explains how to go to the Windows Features (via
Or to run this from an administrative prompt:
dism /online /enable-feature /all /featurename:IIS-ASPNET45
Please note the /all parameter which is not mentioned in the KB article, but necessary to automatically include all the necessary components.
In order to get my webservices running I have spent more hours on struggling with the IIS beast. It appears that (according to this) you have to have to switch on yet another feature:
Or, if you want to automate all this, more dism commands:
dism /online /enable-Feature /all /FeatureName:WCF-HTTP-Activation
dism /online /enable-Feature /all /FeatureName:WCF-HTTP-Activation45