question

NurHossain-3648 avatar image
0 Votes"
NurHossain-3648 asked ·

Exchange 2019 installation error | An exception ocurred while setting shared config DC

Need help

I am Getting following error while installing exchange server 2019 in DR

We have 4 node in DC (3 Mailbox and 1 for Archive) and 2 in DR , while adding another exchange node in DR getting error.


Error:
The following error was generated when "$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.";
       }
     " was run: "System.Exception: Unable to set shared config DC.

at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".

office-exchange-server-administrationoffice-exchange-server-connectivityoffice-exchange-server-itprooffice-exchange-server-deploymentoffice-exchange-server-ha
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered ·

@NurHossain-3648
Hi,

Here are some suggestions:
1.Check if the new Exchange 2019 Server can access the domain controller in the DR site.
2.Make sure IPv6 is enabled on the Exchange 2019 Server.
3.Check if the Microsoft Exchange Active Directory Topology Service on the Exchange 2019 Server is stopped during installation. If so, start it manually and see if the problem persists.

If suggestions above didn't help you with your problem,
please check the Application Log in the Event Viewer and see if it generates some warnings or error messages during a failed installtion.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@NurHossain-3648
Hi,
Do suggestions above help? If you have any questions or needed further help on this issue, please feel free to post back.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
EdwardvanBiljon-7470 avatar image
0 Votes"
EdwardvanBiljon-7470 answered ·

Hi

Check if the Net.tcp port sharing service is started?

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.