询问者
exchange server 2016安装时生成以下错误:"System.Exception: Unable to set shared config DC.,如何解决?

问题
-
错误:
运行"$error.Clear();
$maxWait = New-TimeSpan -Minutes 8
$timeout = Get-Date;
$timeout = $timeout.Add($maxWait);
$currTime = Get-Date;
$successfullySetConfigDC = $false;
while($currTime -le $timeout)
{
$setSharedCDCErrors = @();
try
{
Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
$successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);
if($successfullySetConfigDC)
{
break;
}
Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
}
catch
{
Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);
}
Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
Start-Sleep -Seconds 30;
$currTime = Get-Date;
}
if( -not $successfullySetConfigDC)
{
Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
}
"时生成以下错误:"System.Exception: Unable to set shared config DC.
在 Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
在 Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
在 Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
在 Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
在 Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)"。
我的域结构是父子结构,我现在在父域中安装第一台exchange2016,之前曾经有过2013,也按照网上彻底删除了相关信息,原EXchangserver 主机删除了,重新部署一台虚拟机安装exchange 2016时出现这个错误是什么方面的问题?- 已编辑 Jessie_YuanMicrosoft employee, Moderator 2017年10月2日 6:14 删除与技术问题无关部分
全部回复
-
错误:
运行"$error.Clear();
$maxWait = New-TimeSpan -Minutes 8
$timeout = Get-Date;
$timeout = $timeout.Add($maxWait);
$currTime = Get-Date;
$successfullySetConfigDC = $false;
while($currTime -le $timeout)
{
$setSharedCDCErrors = @();
try
{
Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
$successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);
if($successfullySetConfigDC)
{
break;
}
Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
}
catch
{
Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);
}
Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
Start-Sleep -Seconds 30;
$currTime = Get-Date;
}
if( -not $successfullySetConfigDC)
{
Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
}
"时生成以下错误:"System.Exception: Unable to set shared config DC.
在 Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
在 Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
在 Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
在 Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
在 Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)"。
我的域结构是父子结构,我现在在父域中安装第一台exchange2016,之前曾经有过2013,也按照网上彻底删除了相关信息,原EXchangserver 主机删除了,重新部署一台虚拟机安装exchange 2016时出现这个错误是什么方面的问题?- 已合并 Jessie_YuanMicrosoft employee, Moderator 2017年10月2日 6:13 duplicate issue
- 已编辑 Jessie_YuanMicrosoft employee, Moderator 2017年10月2日 6:14 删除与技术问题无关部分
-
您好,
感谢联系我们论坛。建议使用下面步骤解决这个问题。
1.找到Microsoft.Exchange.Directory.TopologyService.exe.config文件,默认情况下应该在“C:\ Program Files \ Microsoft \ Exchange Server \ V15 \ Bin”
2.打开笔记本电脑作为管理员,然后打开Microsoft.Exchange.Directory.TopologyService.exe.config文件
3.找到“拓扑MinimumPrefixMatch”4.添加MinSuitableServer =“1”
5.保存文件并重新启动Microsoft Exchange Active Directory拓扑服务。
这应该解决问题。
希望可以帮到您。
Regards,
Jason Chao
如果以上回复对您有所帮助,建议您将其标记为答复
如果您对我们的论坛支持有任何的建议,可以通过此邮箱联系我们: tnmff@microsoft.com.
- 已编辑 Jason.Chao 2017年10月2日 3:16