Welcome to Microsoft Exchange Server 2013 Cumulative Update 5 Unattended Setup
Languages
Mailbox role: Transport service
Client Access role: Front End Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access 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
Mailbox role: Transport service
COMPLETED
Client Access role: Front End Transport service
COMPLETED
Mailbox role: Client Access service
FAILED
The following error was generated when "$error.Clear();
Update-AutodiscoverVirtualDirectoryVersion -DomainController $RoleDomainController;
$BEVdirIdentity = $RoleNetBIOSName + "\Autodiscover (Exchange Back End)";
$be = get-AutodiscoverVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainControl
ler $RoleDomainController -ErrorAction SilentlyContinue;
if ($be -eq $null)
{
new-AutodiscoverVirtualDirectory -Role Mailbox -WebSiteName "Exchange Back End" -DomainController $RoleDomain
Controller -WSSecurityAuthentication:$true -BasicAuthentication:$false -WindowsAuthentication:$true;
}
else
{
$be | set-AutodiscoverVirtualDirectory -windowsAuthentication:$be.WindowsAuthentication -WSSecurityAuthentic
ation:$be.WSSecurityAuthentication -BasicAuthentication:$be.BasicAuthentication
}
. "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeAutodiscoverApp
Pool" -Version:"v4.0";
" was run: "Microsoft.Exchange.Data.Common.LocalizedException: The Autodiscover service couldn't be found in the
configuration file. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: serviceElement
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target,
Boolean reThrow, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.EnableOrDisableWSS
ecurityEndpoint(Configuration configuration, Boolean enableEndpoint, TaskErrorLoggingDelegate errorHandler, Boolean isEW
S)
at Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.OnSetManageWCFEndp
oints(Task task, EndpointProtocol protocol, Boolean enableWSSecurity, ExchangeVirtualDirectory adVirtualDirectory)
at Microsoft.Exchange.Management.SystemConfigurationTasks.SetAutodiscoverVirtualDirectory.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePip
elineIfFailed)".
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
<SystemDrive>:\ExchangeSetupLogs folder.
Event 1002, MSEcxchangeSetup
Exchange Server component Mailbox role: Client Access service failed.
Error: Error:
The following error was generated when "$error.Clear();
Update-AutodiscoverVirtualDirectoryVersion -DomainController $RoleDomainController;
$BEVdirIdentity = $RoleNetBIOSName + "\Autodiscover (Exchange Back End)";
$be = get-AutodiscoverVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
if ($be -eq $null)
{
new-AutodiscoverVirtualDirectory -Role Mailbox -WebSiteName "Exchange Back End" -DomainController $RoleDomainController -WSSecurityAuthentication:$true -BasicAuthentication:$false -WindowsAuthentication:$true;
}
else
{
$be | set-AutodiscoverVirtualDirectory -windowsAuthentication:$be.WindowsAuthentication -WSSecurityAuthentication:$be.WSSecurityAuthentication -BasicAuthentication:$be.BasicAuthentication
}
. "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeAutodiscoverAppPool" -Version:"v4.0";
" was run: "Microsoft.Exchange.Data.Common.LocalizedException: The Autodiscover service couldn't be found in the configuration file. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: serviceElement
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.EnableOrDisableWSSecurityEndpoint(Configuration configuration, Boolean enableEndpoint, TaskErrorLoggingDelegate errorHandler, Boolean isEWS)
at Microsoft.Exchange.Management.SystemConfigurationTasks.ExchangeServiceVDirHelper.EwsAutodiscMWA.OnSetManageWCFEndpoints(Task task, EndpointProtocol protocol, Boolean enableWSSecurity, ExchangeVirtualDirectory adVirtualDirectory)
at Microsoft.Exchange.Management.SystemConfigurationTasks.SetAutodiscoverVirtualDirectory.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
Please help, thanks.