Forum Discussion

Roelknippen's avatar
Roelknippen
Copper Contributor
Mar 02, 2023

Error during installation CU23 on single exchange 2016 server

Hi,

 

I'am doing an upgrade of tot CU23 on a exchange 2016 server and during the update I am getting the following error:

 

Error:
The following error was generated when "$error.Clear();
."$RoleInstallPath\Scripts\ConfigureCafeResponseHeaders.ps1";
CreateCustomHeadersNodeForBackend 'autodiscover'
CreateCustomHeadersNodeForBackend 'ecp'
CreateCustomHeadersNodeForBackend 'ews'
CreateCustomHeadersNodeForBackend 'oab'
CreateCustomHeadersNodeForBackend 'owa'
CreateCustomHeadersNodeForBackend 'powershell'
CreateCustomHeadersNodeForBackend 'pushnotifications'
CreateCustomHeadersNodeForBackend 'rpcproxy'
CreateCustomHeadersNodeForBackend 'sync'
CreateCustomHeadersNodeForBackend 'mapi\emsmdb'
CreateCustomHeadersNodeForBackend 'mapi\nspi'
" was run: "System.Management.Automation.MethodInvocationException: Exception calling "Load" with "1" argument(s): "'“' is an unexpected token. The expected token is '"' or '''. Line 209, position 16." ---> System.Xml.XmlException: '“' is an unexpected token. The expected token is '"' or '''. Line 209, position 16.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Load(Object , Object[] )
at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
--- End of inner exception stack trace ---
at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".

Error:
The following error was generated when "$error.Clear();
."$RoleInstallPath\Scripts\ConfigureCafeResponseHeaders.ps1";
CreateCustomHeadersNodeForBackend 'autodiscover'
CreateCustomHeadersNodeForBackend 'ecp'
CreateCustomHeadersNodeForBackend 'ews'
CreateCustomHeadersNodeForBackend 'oab'
CreateCustomHeadersNodeForBackend 'owa'
CreateCustomHeadersNodeForBackend 'powershell'
CreateCustomHeadersNodeForBackend 'pushnotifications'
CreateCustomHeadersNodeForBackend 'rpcproxy'
CreateCustomHeadersNodeForBackend 'sync'
CreateCustomHeadersNodeForBackend 'mapi\emsmdb'
CreateCustomHeadersNodeForBackend 'mapi\nspi'
" was run: "System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
at CallSite.Target(Closure , CallSite , Object , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".

Error:
The following error was generated when "$error.Clear();
."$RoleInstallPath\Scripts\ConfigureCafeResponseHeaders.ps1";
CreateCustomHeadersNodeForBackend 'autodiscover'
CreateCustomHeadersNodeForBackend 'ecp'
CreateCustomHeadersNodeForBackend 'ews'
CreateCustomHeadersNodeForBackend 'oab'
CreateCustomHeadersNodeForBackend 'owa'
CreateCustomHeadersNodeForBackend 'powershell'
CreateCustomHeadersNodeForBackend 'pushnotifications'
CreateCustomHeadersNodeForBackend 'rpcproxy'
CreateCustomHeadersNodeForBackend 'sync'
CreateCustomHeadersNodeForBackend 'mapi\emsmdb'
CreateCustomHeadersNodeForBackend 'mapi\nspi'
" was run: "System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.
at CallSite.Target(Closure , CallSite , Object , Object )
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".

Error:
The following error was generated when "$error.Clear();
."$RoleInstallPath\Scripts\ConfigureCafeResponseHeaders.ps1";
CreateCustomHeadersNodeForBackend 'autodiscover'
CreateCustomHeadersNodeForBackend 'ecp'
CreateCustomHeadersNodeForBackend 'ews'
CreateCustomHeadersNodeForBackend 'oab'
CreateCustomHeadersNodeForBackend 'owa'
CreateCustomHeadersNodeForBackend 'powershell'
CreateCustomHeadersNodeForBackend 'pushnotifications'
CreateCustomHeadersNodeForBackend 'rpcproxy'
CreateCustomHeadersNodeForBackend 'sync'
CreateCustomHeadersNodeForBackend 'mapi\emsmdb'
CreateCustomHeadersNodeForBackend 'mapi\nspi'
" was run: "System.Management.Automation.MethodInvocationException: Exception calling "Save" with "1" argument(s): "Invalid XML document. The document does not have a root element." ---> System.Xml.XmlException: Invalid XML document. The document does not have a root element.
at System.Xml.XmlDocument.Save(String filename)
at Save(Object , Object[] )
at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
--- End of inner exception stack trace ---
at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".

 

I did do al de prerequirements and all whe passed succesfully. 

 

How can I resolve this issue. 

 

Hope you can help 


Roel Knippen

 

 

No RepliesBe the first to reply

Resources