Editing an runbook that fails

Today I had an issue with installing a deployable package from the sommand prompt. When the runbook tried to stop the Retail Server i got the following error on step 1:

System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

I then saw that it was using the server name, and I thought that it might work using locka host instead… the only problem was that I had imported the runbook and it had failed… how am I supposd to fix this?

I found my runbook file in the folder where I had extracted the package. I opened it in Notepad and ran search and replace on the file. I saved the file and tried to import it again using:

AXUpdateInstaller.exe import -runbookfile=”[runbookfilename]”

and then I restarted the package install using:

AXUpdateInstaller.exe execute -runbookid=[runbookid] -rerunstep=1

Wohoo… it worked!!!

Remember: If you are running AXUpdateInstaller from powershell you need to add .\ before the command

/Johan

Comments

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)