Posts

Showing posts from 2021

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop

 While updating local server to platform update 39, I got below error. The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Management.Automation.RuntimeException: An exception of type System.Net.WebException occurred when making an http request to: http://127.0.0.1/ReportServer. Refer to the log file for more details. Issue was resolved by just  Navigate to folder where your package is located, and right click on folder and uncheck Read-only, and click Apply. You will get pop-up asking to apply change to inner folders and files, select yes. Navigate to  C:\AosService\PackagesLocalDirectory location can be different depending on server. Find folder " SystemHealth ". and uncheck Read-only and click Apply. Re-run step where your update was failed.