Windows exchange server 2019 installation failed at last step

Muralidharan G 1 Reputation point
2022-12-22T16:23:27.913+00:00

Hello Community,

I get below error when installing Exchange server 2019. Any tips or help would be great.

Error:
The following error was generated when "$error.Clear();
$dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
$exchangeBinPath = [System.IO.Path]::Combine($RoleInstallPath, "bin");
$clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
$sharedWebConfig = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

      $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";  
      $allOutput = @();  
      $a | % { $allOutput += $_ };  
      Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");  
      Stop-SetupService -ServiceName WAS;  
      Start-SetupService -ServiceName W3SVC;  
    " was run: "System.Management.Automation.RemoteException".  

Error:
The following error was generated when "$error.Clear();
$dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe");
$exchangeBinPath = [System.IO.Path]::Combine($RoleInstallPath, "bin");
$clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess");
$sharedWebConfig = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config");

      $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig";  
      $allOutput = @();  
      $a | % { $allOutput += $_ };  
      Write-ExchangeSetupLog -Info ($allOutput -join "`r`n");  
      Stop-SetupService -ServiceName WAS;  
      Start-SetupService -ServiceName W3SVC;  
    " was run: "System.Management.Automation.RemoteException: Process is terminated due to StackOverflowException.".  

Regards,
Muralidharan

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,261 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,386 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
241 questions
{count} votes