web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Nakul Profile Picture

Nakul 2

#2
Mea_ Profile Picture

Mea_ 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans