Skip to main content

Notifications

Announcements

No record found.

Dynamics AX migration forum
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

Hi guys.

 

Did someone has solved this error while updating to version 23 using the command AXUpdateInstaller.exe execute -runbookid="Dyn365FO23V-runbook"? I haven't find a solution yet.

 

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans