I need to upgrade Exchange 2013 cu22 to Exchange 2019 cu23. Im installing Exchange 2019 to new VM with WS 2022 in domain (Exchange 2013 is running on old server) and im getting this error during Step 7 Mailbox role: Client access server:
Error:
The following error was generated when "$error.Clear();
# Array of module names to unlock
[System.Array] $moduleNames = "AnonymousAuthenticationModule",
"AnonymousIdentification",
"BasicAuthenticationModule",
"CertificateMappingAuthenticationModule",
"CgiModule",
"ConfigurationValidationModule",
"CustomErrorModule",
"DefaultAuthentication",
"DefaultDocumentModule",
"DigestAuthenticationModule",
"DirectoryListingModule",
"DynamicCompressionModule",
"FailedRequestsTracingModule",
"FastCgiModule",
"FileAuthorization",
"FormsAuthentication",
"HttpCacheModule",
"HttpLoggingModule",
"HttpRedirectionModule",
"IsapiFilterModule",
"IsapiModule",
"OutputCache",
"Profile",
"ProtocolSupportModule",
"RequestFilteringModule",
"RoleManager",
"ScriptModule-4.0",
"ServerSideIncludeModule",
"ServiceModel",
"ServiceModel-4.0",
"Session",
"StaticCompressionModule",
"StaticFileModule",
"UrlAuthorization",
"UrlMappingsModule",
"UrlRoutingModule-4.0",
"WindowsAuthentication",
"WindowsAuthenticationModule";
$windir = $env:windir;
$a = &"$windir\system32\inetsrv\appcmd.exe" "set" "config" "/section:system.webServer/modules" "/lockItem:false"
Write-ExchangeSetupLog -Info ($a)
foreach($moduleName in $moduleNames)
{
$a = &"$windir\system32\inetsrv\appcmd.exe" "set" "config" "/section:system.webServer/modules" "/.[name=`'$moduleName`'].lockItem:false"
Write-ExchangeSetupLog -Info ($a)
}
" was run: "System.Management.Automation.ParameterBindingException: Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported. ---> System.NotSupportedException: Specified method is not supported.
at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)
--- End of inner exception stack trace ---
at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection
1 arguments)
at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)".
I tried to search this error, but I cannot find anything.