When running "iisreset" from cmd/powershell (opened as administrator) the process is failling with code 1062.
Issue Description: When running "iisreset" from cmd/powershell (opened as administrator) the process is failling with code 1062
Attempting start...
Internet services successfully restarted
Start to commit changes with 2 times
CommitChanges failed with exception.
Resetting Iis
Iisreset file path is C:\windows\system32\iisreset.exe
Iisreset execution log
Attempting stop...
Iisreset failed with ExitCode 1062
Failed to commit changes to ServerManager after all retries.
Failed to configure IIs.
System.AggregateException: Couldn't save changes to IIS ServerManager ---> System.IO.FileLoadException: Filename: \?\C:\windows\system32\inetsrv\config\applicationHost.config
Resolution:
- Run from Powershell Open as admin:
- net start w3svc
- Or Run the below command:
- "iisreset /restart"