Installation Stop at Mailbox role Transport Service

Get the error message below when trying to install the Exchange Server 2013 on windows 2012. Previously did install one time but didn't put in the prerequisite such as prepare Ad, schema and etc properly. Then uninstall it by deleting the folders and registry. Not sure whether that will got affect on current installation or not.

An unexpected error has occurred and a Watson dump is being generated: The foll
owing error was generated when "$error.Clear();
            if ($RoleProductPlatform -eq "amd64")
            {
                $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
 "Search\Ceres\Installer";
                $command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
                $dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";

                try
                {
                    # the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
                    &$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
                }
                catch
                {
                    $errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $errorMsg;

                    # Clean up the failed configuration attempt.
                    &$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: "Error occurred while uninstalling Search Foundation for Exch
ange.System.InvalidOperationException: Service SearchExchangeTracing was not fou
nd on computer '.'. ---> System.ComponentModel.Win32Exception: The specified ser
vice does not exist as an installed service
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.GenerateNames()
   at System.ServiceProcess.ServiceController.get_ServiceName()
   at System.ServiceProcess.ServiceController.GenerateStatus()
   at System.ServiceProcess.ServiceController.get_Status()
   at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.StopService(String se
rviceName, Int32 timeoutInSeconds)
   at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
   at CallSite.Target(Closure , CallSite , Type , Object , Object )".


     The following error was generated when "$error.Clear();
            if ($RoleProductPlatform -eq "amd64")
            {
                $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
 "Search\Ceres\Installer";
                $command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
                $dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";

                try
                {
                    # the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
                    &$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
                }
                catch
                {
                    $errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
                    Write-ExchangeSetupLog -Error $errorMsg;

                    # Clean up the failed configuration attempt.
                    &$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: "Error occurred while uninstalling Search Foundation for Exch
ange.System.InvalidOperationException: Service SearchExchangeTracing was not fou
nd on computer '.'. ---> System.ComponentModel.Win32Exception: The specified ser
vice does not exist as an installed service
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.GenerateNames()
   at System.ServiceProcess.ServiceController.get_ServiceName()
   at System.ServiceProcess.ServiceController.GenerateStatus()
   at System.ServiceProcess.ServiceController.get_Status()
   at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.StopService(String se
rviceName, Int32 timeoutInSeconds)
   at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
   at CallSite.Target(Closure , CallSite , Type , Object , Object )".

The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs f

August 16th, 2015 1:57pm

It probably did.  You should always start with a fresh OS install to install Exchange because leftover residue will often break the setup.

Does the server show up in the organization when you enter Get-ExchangeServer?  If this is your first server, you'll need to look in ADSI Edit > Configuration > Services > Microsoft Exchange > Administrative Groups > Exchange Administrative Group (FYDIBOHF25SPDLT) > Servers (posted from memory, there may be an error in that path).  If there's one there, don't delete it--that's not supported--just reply back for further gui

Free Windows Admin Tool Kit Click here and download it now
August 16th, 2015 3:11pm

Yup, there is one item inside Servers and inside it got Microsoft MTA, Protocals, and Transport Configuration.
August 16th, 2015 9:18pm

I would start over with a freshly installed and prepared OS.  The supported way to uninstall it from AD is to run setup /Mode:RecoverServer.  If it completes all the way, you can decide whether to keep the server or start over.  If you want to start over, run Setup /Mode:uninstall then reimage the computer and do a fresh install.
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 12:58am

I compared with another environment that have a working Exchange server and found that the registry of searchexchangetracing was missing. Export and import it. The installation can continue but it got the error of can't start the Microsoft Exchange Transport service with error as below. It stopped at the setup of Mailbox role: Transport

Error:
The following error was generated when "$error.Clear(); 
          if ($RoleStartTransportService)
          {
              start-SetupService -ServiceName MSExchangeTransport -MaxWaitTimeForRunningState 0:0:40
          }
        " was run: "Service 'MSExchangeTransport' failed to reach status 'Running' on this server.".



August 17th, 2015 7:41am

I recommend you take my earlier advice.  Even if you get it to install, I'd wager that you're going to have problems later.
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2015 10:55am

Since the existing server is hosting a few others websites, I decided to revert back to the state without exchange (the one after first time remove the exchange)

I went to create another VM that will hosted exchange server that join to the first VM (it is a domain controller)

After preparing the AD, schema and etc, the installation was completed without any errors. Now starting to configure the rest of the exchange server settings.

Thanks for the advice.

August 18th, 2015 1:05am

Glad you got it sorted out.  Exchange is so heavily dependent on IIS that you should never collocate it with other web apps.
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2015 1:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics