Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

AXUpdateInstaller fails in step 55

Posted on by 15

Hey guys.

Did someone has solved the following error while updating to version 23 using this command: AXUpdateInstaller.exe execute -runbookid="Dyn365FO23V-runbook" ?

This is my runbook:

<Name>Dyn365FOV23</Name>

  <MachineList>

    <Machine>

      <Name>dyn365devrs1</Name>

      <ServiceModelList>

                               <string>ALMService</string>

                               <string>AOSService</string>

                               <string>BIService</string>

                               <string>DevToolsService</string>

                               <string>DIXFService</string>

                               <string>MROneBox</string>

                               <string>PayrollTaxModule</string>

                               <string>PerfSDK</string>

                               <string>ReportingService</string>

                               <string>RetailCloudPos</string>

                               <string>RetailHQConfiguration</string>

                               <string>RetailSDK</string>

                               <string>RetailSelfService</string>

                               <string>RetailServer</string>

                               <string>RetailStorefront</string>

                  </ServiceModelList>

    </Machine>

  </MachineList>

 

And this is the error log:

Executing step: 55

Update script for service model: RetailServer on machine: dyn365devrs1

Update Retail Server service.

UpdateRetailServer.ps1 failed.

 try{

                                                     $erroractionpreference = 'stop';

                                                     &

'C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1'

                                                 }

                                                 catch

                                                 {

                                                     $erroractionpreference = 'Continue';

                                                     Write-Error ($_ | Format-List * -Force | Out-String -Width

4096);

                                                     [Environment]::Exit(999)

                                                 }  :

PSMessageDetails      :

Exception             : System.Management.Automation.RuntimeException:

 

                        PSMessageDetails      :

                        Exception             : System.Management.Automation.MethodInvocationException: Exception

calling "ImportNode" with

                                                "2" argument(s): "Cannot import a null node." --->

System.InvalidOperationException: Cannot

                                                import a null node.

                                                   at System.Xml.XmlDocument.ImportNodeInternal(XmlNode node,

Boolean deep)

                                                   at

System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target,

                                                Object[] arguments, MethodInformation methodInformation, Object[]

originalArguments)

                                                   --- End of inner exception stack trace ---

                                                   at

 

System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext

                                                funcContext, Exception exception)

                                                   at

System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame

                                                frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                        TargetObject          :

                        CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

                        FullyQualifiedErrorId : DotNetMethodException

                        ErrorDetails          :

                        InvocationInfo        : System.Management.Automation.InvocationInfo

                        ScriptStackTrace      : at Merge-XmlNode,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 411

                                                at Merge-WebConfig,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 332

                                                at Upgrade-RetailServer,

 

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1: line 116

                                                at <ScriptBlock>,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 453

                                                at <ScriptBlock>, <No file>: line 3

                                                at <ScriptBlock>, <No file>: line 1

                        PipelineIterationInfo : {}

 

 

 

 

TargetObject          :

 

                        PSMessageDetails      :

                        Exception             : System.Management.Automation.MethodInvocationException: Exception

calling "ImportNode" with

                                                "2" argument(s): "Cannot import a null node." --->

System.InvalidOperationException: Cannot

                                                import a null node.

                                                   at System.Xml.XmlDocument.ImportNodeInternal(XmlNode node,

Boolean deep)

                                                   at

System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target,

                                                Object[] arguments, MethodInformation methodInformation, Object[]

originalArguments)

                                                   --- End of inner exception stack trace ---

                                                   at

 

System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext

                                                funcContext, Exception exception)

                                                   at

System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame

                                                frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                        TargetObject          :

                        CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

                        FullyQualifiedErrorId : DotNetMethodException

                        ErrorDetails          :

                        InvocationInfo        : System.Management.Automation.InvocationInfo

                        ScriptStackTrace      : at Merge-XmlNode,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 411

                                                at Merge-WebConfig,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 332

                                                at Upgrade-RetailServer,

 

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1: line 116

                                                at <ScriptBlock>,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 453

                                                at <ScriptBlock>, <No file>: line 3

                                                at <ScriptBlock>, <No file>: line 1

                        PipelineIterationInfo : {}

 

 

 

 

CategoryInfo          : OperationStopped: (

 

                        PSMessageDe...fo : {}

 

 

 

                        :String) [], RuntimeException

FullyQualifiedErrorId :

 

                        PSMessageDetails      :

                        Exception             : System.Management.Automation.MethodInvocationException: Exception

calling "ImportNode" with

                                                "2" argument(s): "Cannot import a null node." --->

System.InvalidOperationException: Cannot

                                                import a null node.

                                                   at System.Xml.XmlDocument.ImportNodeInternal(XmlNode node,

Boolean deep)

                                                   at

System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target,

                                                Object[] arguments, MethodInformation methodInformation, Object[]

originalArguments)

                                                   --- End of inner exception stack trace ---

                                                   at

 

System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext

                                                funcContext, Exception exception)

                                                   at

System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame

                                                frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                                                   at

System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(Interpret

                                                edFrame frame)

                        TargetObject          :

                        CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

                        FullyQualifiedErrorId : DotNetMethodException

                        ErrorDetails          :

                        InvocationInfo        : System.Management.Automation.InvocationInfo

                        ScriptStackTrace      : at Merge-XmlNode,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 411

                                                at Merge-WebConfig,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 332

                                                at Upgrade-RetailServer,

 

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1: line 116

                                                at <ScriptBlock>,

C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

                                                line 453

                                                at <ScriptBlock>, <No file>: line 3

                                                at <ScriptBlock>, <No file>: line 1

                        PipelineIterationInfo : {}

 

 

 

 

ErrorDetails          :

InvocationInfo        : System.Management.Automation.InvocationInfo

ScriptStackTrace      : at <ScriptBlock>, C:\UpdateFO\RetailServer\scripts\Upgrade\Core\UpdateRetailServer.ps1:

line 477

                        at <ScriptBlock>, <No file>: line 3

                        at <ScriptBlock>, <No file>: line 1

PipelineIterationInfo : {}

At line:1 char:1

+ &{ try{

+ ~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

 

The step failed

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans