Atlantic Oak

Error Installing Deployable Package in Dynamics 365 for Finance and Operations

The following error is generated when executing the runbook for the Boötes AX7 Bound Grid Control:

Error when executing runbook in Dynamics 365 for Finance and Operations

Executing step: 4
Update script for service model: AOSService on machine: UP9DEPTEST
update AOS service
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 
Cannot find path 'C:\AOSService\PackagesLocalDirectory\InstallationRecords\dynamicsax-bootesctrlcommonbase.7.0.4565.16212\tools\installpackage.ps1' because it does not exist.
The step failed
The step: 4 is in failed state, you can use rerunstep command to debug the step explicitly
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.RunbookExecutor.executeRunbookStepList(RunbookData runbookData, List`1 runbookStepList, String updatePackageFilePath, Boolean silent, String stepID, ExecuteStepMode executeStepMode, Boolean versionCheck, Boolean restore, Parameters parameters)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.RunbookExecutor.executeRunbook(RunbookData runbookData, String updatePackageFilePath, Boolean silent, String stepID, ExecuteStepMode executeStepMode, Boolean versionCheck, Boolean restore, Parameters parameters)
   at Microsoft.Dynamics.AX.AXUpdateInstallerBase.AXUpdateInstallerBase.execute(String runbookID, Boolean silent, String updatePackageFilePath, IRunbookExecutor runbookExecutor, Boolean versionCheck, Boolean restore)
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.InstallUpdate(String[] args)
   at Microsoft.Dynamics.AX.AXUpdateInstaller.Program.Main(String[] args)

When I check this file:

'C:\AOSService\PackagesLocalDirectory\InstallationRecords\dynamicsax-bootesctrlcommonbase.7.0.4565.16212\tools\installpackage.ps1'

The file is there. How can I fix this?


Answer:

This is a known issue and it has been logged in the Yammer site for Dynamics 365 for Finance and Operations. Just re-run step 4 using this command:

AXUpdateInstaller.exe execute -runbookid="your-runbook-id" -rerunstep=4


×