The specified argument is out of range. Parameter Name: Site - Error due to update creators

After installing the update for the creators, I received this error:

Specified argument was out of the range of valid values. Parameter name: site error. 

I was able to repair IIS by downloading IIS 10 from Microsoft. Unfortunately, in addition to breaking IIS, the developers updated my permissions on my dev and git folders were unable to add or remove folders. For life, I could not figure out how to fix this. So, I decided to push the windows back.

Guess what? This again violated the IIS. This time, although the IIS 10 installer did not allow me to restore IIS, I could not restore it from Add or Remove Programs, and I cannot remove it to start all over again. I tried removing it from the VS2017 installer and reinstalling it, which also did not work.

+4
source share
1 answer

I found these questions:

The specified argument is out of the valid range. Parameter name: site

The specified argument is out of range (parameter name: site)

The specified argument is out of range. Parameter Name: Site

None of the accepted answers recorded my mistake, in the third SO post I found what saved me. I am not enough comments, but I would like to share this if someone else comes across this extremely unpleasant mistake.

From Sikandar Amla answer:

I had the same issue with VS2017. After solving the problem.

  • Run the command line as an administrator.
  • Write the following two commands that will update your registry.

    reg add HKLM\Software\WOW6432Node\Microsoft\InetStp/v MajorVersion/t REG_DWORD/d 10/f

    reg add HKLM\Software\Microsoft\InetStp/v MajorVersion/t REG_DWORD/d 10/f

. . .

+4

Source: https://habr.com/ru/post/1689253/


All Articles