none
Install Exchange 2013 error RRS feed

  • Question

  • Hello,

    I installed exchange 2013 and got error at step 7 of 14: Mailbox role: Transport service.

    Error:

    The following error was generated when "$error.Clear();

                if ($RoleProductPlatform -eq "amd64")

                {

                    $useAttachMode = $false;

                    $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";

                    $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";

                    $fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";

                    $dataFolderPath = $fastDefaultDataFolderPath;

                   

                    if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))

                    {

                        $useAttachMode = $true;

                    }

                    else

                    {

                        if ($RoleIsDatacenter -eq $true)

                        {

                            $preferredDataFolderPathRoot = "D:\";

                            if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))

                            {

                                $dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";

                                if ([System.IO.Directory]::Exists($dataFolderPath))

                                {

                                    $useAttachMode = $true;

                                }

                            }

                        }

                    }

                   

                    if ($useAttachMode -eq $true)

                    {

                        &$command -action a -dataFolder $dataFolderPath -silent;

                    }

                    else

                    {

                        try

                        {  

                            &$command -action i -dataFolder $dataFolderPath -silent;

                        }

                        catch

                        {

                            $errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;

                            Write-ExchangeSetupLog -Error $errorMsg;

                            &$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: "Failure running SearchFoundation installconfig.ps1 - Error occurred while configuring Search Foundation for Exchange.System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:17001/ceres/hostcontroller/nettcp. The connection attempt lasted for a time span of 00:00:42.0576000. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 127.0.0.1:17001.  ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 127.0.0.1:17001

       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)

       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)

       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

       --- End of inner exception stack trace ---

    Server stack trace:

       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)

       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)

       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)

       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)

       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)

       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)

       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:

       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

       at Microsoft.Ceres.HostController.WcfTypes.IHostController.GetHostInformation()

       at Microsoft.Ceres.Exchange.PostSetup.HostControllerManager.ConnectHost(Uri uri, Boolean secure, String userIdentity, Int16 timeoutInSeconds)

       at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.DeployAdminNode(String installDirectory, String localHostControllerNetTcpUrl, Int32 hostControllerPort)

       at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Install(String installDirectory, String dataDirectoryPath, Int32 basePort, String logFile, Boolean singleNode, String systemName, Boolean attachedMode)

       at CallSite.Target(Closure , CallSite , Type , Object , Object , Object , Object , Object , Object , Boolean )".

    Thanks,

    Jimmy


    Jimmy

    Monday, April 15, 2013 10:20 PM

All replies

  • Option #1 – Recreate the Federated Account

    The first way of rectifying this issue, which I suggest to be the preferred option, is to perform the steps outlined in the following KB: http://support.microsoft.com/kb/978776 to recreate the Federated object.  The following is what the steps look like:

    image

    Execute the following command in the Exchange Management Shell:

    New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>

    image

    Hit the refresh button in ADSIedit a few times and you should see the FederatedEmail account reappear:

    image

    Option #2 – Manually correct the attributes

    If you’re sure that the mailbox’s attributes were accidentally modified and that nothing else was changed, you can actually manually edit the homeMDB and homeMTA attribute to fix it.  One of the ways to retrieve those values is to open up another Exchange 2010 system mailbox object:

    image

    image

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Once the federated mailbox is corrected, the hub transport role should now install correctly:

    image
    Monday, April 22, 2013 9:05 PM