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