Why can't Microsoft install IIS on Window Operating Systems by default?
Specified argument was out of the range of valid values.Parameter name: site
I had this issue recently after a major Windows PC crash/refresh and as I finally found out the issue was IIS not running, I wondered why the above error message is not a little bit more precise.
Anyway, just re-install IIS features and you are ready to go.
- Windows + R (open the run box)
- Type AppWiz.cpl (Start the control panel for apps and features)
- Click "Turn Windows Features On or Off"
- Make sure Internet Information Services is checked as below: