Hello all,
I had two Exchange 2016 servers in my infrastructure and I started to upgrade them to Exchange 2016 CU3.
One of the servers has been updated successfully, but the second one ran into a problem at 'Client Access Front End service' stage.
You can see the CMD output below.
F:\>Setup /m:upgrade /IAcceptExchangeServerLicenseTerms
Welcome to Microsoft Exchange Server 2016 Cumulative Update 3 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
Mailbox role: Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Mailbox role: Front End Transport service
Mailbox role: Client Access Front End service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis COMPLETED
Configuring Microsoft Exchange Server
Language Files COMPLETED
Restoring Services COMPLETED
Language Configuration COMPLETED
Exchange Management Tools COMPLETED
Mailbox role: Transport service COMPLETED
Mailbox role: Client Access service COMPLETED
Mailbox role: Unified Messaging service COMPLETED
Mailbox role: Mailbox service COMPLETED
Mailbox role: Front End Transport service COMPLETED
Mailbox role: Client Access Front End service FAILED
The following error was generated when "$error.Clear();
.
"$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeServicesAppPool"
-Version:"v4.0";
get-WebServicesVirtualDirectory -server $RoleFqdnOrName | set-WebServicesVirtualDirectory
-windowsAuthentication:$true -WSSecurityAuthentication:$true -OAuthAuthentication:$true
" was run:
"System.Runtime.InteropServices.COMException (0x800700B7): Filename: \\?\C:\Program Files\Microsoft\Exchange
Server\V15\FrontEnd\HttpProxy\EWS\web.config
Line number: 8
Error: Cannot add duplicate collection entry of type
'add' with unique key attribute 'key' set to 'HttpProxy.ProtocolType'
at
Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath)
at
Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String
locationPath)
at
Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.EnableOrDisableCafeEndpo
int(Configuration
configuration, String endpointName, Boolean enableEndpoint)
at
Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.OnSetManageWCFEndpoints(
Task
task, EndpointProtocol protocol, Boolean enableWSSecurity, ExchangeVirtualDirectory adVirtualDirectory)
at
Microsoft.Exchange.Management.SystemConfigurationTasks.SetWebServicesVirtualDirectory.InternalProcessRecord()
at
Microsoft.Exchange.Configuration.Tasks.Task.b__b()
at
Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean
terminatePipelineIfFailed)
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessTaskStage(TaskStage taskStage,
Action initFunc, Action mainFunc, Action completeFunc)
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()".
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
:\ExchangeSetupLogs folder.
F:\>
At this stage I cannot do anything with the server, and /owa is not working anymore. It seems that I have a corrupt installation.
Do you have any ideas how can I solve the error and ran the installation task again?
Regards,
Mircea