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 

  1. 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.
  2. Navigate to C:\AosService\PackagesLocalDirectory location can be different depending on server. Find folder "SystemHealth". and uncheck Read-only and click Apply.
  3. Re-run step where your update was failed.

Comments

Popular posts from this blog

X++ Get Start Date and End Date of Month

Dynamics AX 365 : The name does not denote a class, a table or an extended data type

Error while setting server report parameters. Error message: The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)