I am trying to install Exchange 2013 on server 2012 R2 standard. After going through the prerequisites I still fail on step 7. The error is listed below. I have uninstalled it and used adsiedit to remove mailboxes and database. I have read through the
suggested fixes for this issue, most stem from around 2013. I'm wondering if anyone else has ran into this issue? Thank you in advance!
Error:
The following error was generated when "$error.Clear();
if ($RoleProductPlatform -eq "amd64")
{
$useAttachMode = $false;
$fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
$command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
$fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";
$dataFolderPath = $fastDefaultDataFolderPath;
if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))
{
$useAttachMode = $true;
}
else
{
if ($RoleIsDatacenter -eq $true)
{
$preferredDataFolderPathRoot = "D:\";
if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))
{
$dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";
if ([System.IO.Directory]::Exists($dataFolderPath))
{
$useAttachMode = $true;
}
}
}
}
if ($useAttachMode -eq $true)
{
&$command -action a -dataFolder $dataFolderPath -silent;
}
else
{
try
{
&$command -action i -dataFolder $dataFolderPath -silent;
}
catch
{
$errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath+ " - " +
$_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
}
}
}
" was run: "Failure running SearchFoundation installconfig.ps1 - Error occurred while configuring Search Foundation for
Exchange.System.TypeLoadException: Could not load type 'System.Runtime.Diagnostics.ITraceSourceStringProvider' from assembly
'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
at System.ServiceModel.Channels.BinaryMessageEncoderFactory..ctor(MessageVersion messageVersion, Int32 maxReadPoolSize, Int32
maxWritePoolSize, Int32 maxSessionSize, XmlDictionaryReaderQuotas readerQuotas, Int64 maxReceivedMessageSize, BinaryVersion version,
CompressionFormat compressionFormat)
at System.ServiceModel.Channels.BinaryMessageEncodingBindingElement.CreateMessageEncoderFactory()
at System.ServiceModel.Channels.TransportChannelFactory`1..ctor(TransportBindingElement bindingElement, BindingContext context)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelFactory`1..ctor(ConnectionOrientedTransportBindingElement bindingElement,
BindingContext context, String connectionPoolGroupName, TimeSpan idleTimeout, Int32 maxOutboundConnectionsPerEndpoint, Boolean
supportsImpersonationDuringAsyncOpen)
at System.ServiceModel.Channels.TcpTransportBindingElement.BuildChannelFactory[TChannel](BindingContext context)
at System.ServiceModel.Channels.Binding.BuildChannelFactory[TChannel](BindingParameterCollection parameters)
at System.ServiceModel.Channels.ServiceChannelFactory.BuildChannelFactory(ServiceEndpoint serviceEndpoint, Boolean useActiveAutoClose)
at System.ServiceModel.ChannelFactory.CreateFactory()
at System.ServiceModel.ChannelFactory.OnOpening()
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ChannelFactory.EnsureOpened()
at System.ServiceModel.DuplexChannelFactory`1.CreateChannel(InstanceContext callbackInstance, EndpointAddress address, Uri via)
at Microsoft.Ceres.HostController.WcfClient.WcfHostControllerClient.CreateProxy()
at Microsoft.Ceres.HostController.WcfClient.WcfHostControllerClient.get_HostController()
at Microsoft.Ceres.Exchange.PostSetup.HostControllerManager.ConnectHost(Uri uri, Boolean secure, String userIdentity, Int16 timeoutInSeconds)
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.DeployAdminNode(String installDirectory, String localHostControllerNetTcpUrl, Int32
hostControllerPort)
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Install(String installDirectory, String dataDirectoryPath, Int32 basePort, String
logFile, Boolean singleNode, String systemName, Boolean attachedMode)
at CallSite.Target(Closure , CallSite , Type , Object , Object , Object , Object , Object , Object , Boolean )".