troubleshooting Question

Error while installing Exchange 2013 CU3

Avatar of dtwild
dtwild asked on
ExchangeMicrosoft Legacy OS
3 Comments1 Solution2269 ViewsLast Modified:
When I try to install Exchange 2013 CU3 I receive the below error.

I try to install the error as I read about a fix in relation to an RPC error, that cause my Outlook clients to disconnect every now and then from the Exchange server. Unfortunately I can not apply the update due to the below error.

Is there anyone who has seen this before?

The environment is Windows Server 2012 in combination with Microsoft Exchange 2013.

Error:
The following error was generated when "$error.Clear();  
          try
          {
            $Target = $env:COMPUTERNAME
            try
            {
              $exSrv = get-ExchangeServer $Target -ErrorAction SilentlyContinue
            }
            catch
            {
              Write-ExchangeSetupLog -Warning "Unable to set monitoring and server state to inactive.  Setup will continue.";
            }

            if ($exSrv -eq $null)
            {
              Write-ExchangeSetupLog -Warning "$Target is not an Exchange Server. Unable to set monitoring and server state to inactive.  Setup will continue.";
              return
            }

            Set-ServerComponentState $Target -Component Monitoring -Requester Functional -State Inactive
            Write-ExchangeSetupLog -Info "Monitoring has been set to Inactive while setup is running."

            Set-ServerComponentState $Target -Component RecoveryActionsEnabled -Requester Functional -State Inactive
            Write-ExchangeSetupLog -Info "RecoveryActionsEnabled has been set to Inactive while setup is running."

            Set-ServerComponentState $Target -Component ServerWideOffline -Requester Functional -State InActive
            Write-ExchangeSetupLog -Info "The server state has been set to Inactive while setup is running."

            if (Get-Service | where { $_.Name -eq "MSExchangeTransport" })
            {
              stop-SetupService -ServiceName MSExchangeTransport
              Write-ExchangeSetupLog -Info "The hub transport service was stopped while setup is running."
            }

            if (Get-Service | where { $_.Name -eq "MSExchangeFrontendTransport" })
            {
              stop-SetupService -ServiceName MSExchangeFrontendTransport
              Write-ExchangeSetupLog -Info "The frontend transport service was stopped while setup is running."
            }
          }
          catch
          {
            Write-ExchangeSetupLog -Warning "Unable to set monitoring and server state to inactive.  Setup can not continue.";
            throw;
          }
        " was run: "Service 'MSExchangeTransport' failed to stop due to error:'Cannot stop MSExchangeTransport service on computer '.'.'.".
ASKER CERTIFIED SOLUTION
Joseph Nyaema
Independednt Consultant
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros