Solved

Exchange 2010 SP3 Install Failed

Posted on 2014-09-21
2
699 Views
Last Modified: 2015-02-01
Dear All,

Installing Exchange 2010 service pack 3 has failed with the error "Transport agent "Text Messaging Delivery Agent" isn't found."

     
[09/21/2014 08:12:21.0578] [2] Active Directory session settings for 'Get-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0578] [2] Beginning processing get-transportagent -Identity:'Mobile Message Submission Agent'
[09/21/2014 08:12:21.0594] [2] Ending processing get-transportagent
[09/21/2014 08:12:21.0594] [2] Active Directory session settings for 'Get-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0594] [2] Beginning processing get-transportagent -Identity:'Text Messaging Routing Agent'
[09/21/2014 08:12:21.0609] [2] Ending processing get-transportagent
[09/21/2014 08:12:21.0609] [2] Active Directory session settings for 'Uninstall-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0609] [2] Beginning processing uninstall-transportagent -Identity:'Text Messaging Routing Agent'
[09/21/2014 08:12:21.0609] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/21/2014 08:12:21.0609] [2] Ending processing uninstall-transportagent
[09/21/2014 08:12:21.0625] [2] Active Directory session settings for 'Install-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0625] [2] Beginning processing install-TransportAgent -Name:'Text Messaging Routing Agent' -TransportAgentFactory:'Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingRoutingAgentFactory' -AssemblyPath:'C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll'
[09/21/2014 08:12:21.0656] [2] [WARNING] Please exit Windows PowerShell to complete the installation.
[09/21/2014 08:12:21.0656] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/21/2014 08:12:21.0656] [2] Ending processing install-TransportAgent
[09/21/2014 08:12:21.0656] [2] Active Directory session settings for 'Enable-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0656] [2] Beginning processing enable-transportagent -Identity:'Text Messaging Routing Agent'
[09/21/2014 08:12:21.0672] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/21/2014 08:12:21.0672] [2] Ending processing enable-transportagent
[09/21/2014 08:12:21.0687] [1] Executing: 
          $agentName = "Text Messaging Delivery Agent";
          $agentFactory = "Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory";
          $agentAssembly = ($RoleInstallPath + "bin\Microsoft.Exchange.MobileDriver.dll");
          $agent = get-transportagent -Identity:$agentName;
          if ($agent) {
          uninstall-transportagent -Identity:$agentName;
          };
          install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly;
          if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };
        
[09/21/2014 08:12:21.0687] [2] Active Directory session settings for 'Get-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0687] [2] Beginning processing get-transportagent -Identity:'Text Messaging Delivery Agent'
[09/21/2014 08:12:21.0703] [2] Ending processing get-transportagent
[09/21/2014 08:12:21.0703] [2] Active Directory session settings for 'Uninstall-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0703] [2] Beginning processing uninstall-transportagent -Identity:'Text Messaging Delivery Agent'
[09/21/2014 08:12:21.0719] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/21/2014 08:12:21.0719] [2] Ending processing uninstall-transportagent
[09/21/2014 08:12:21.0719] [2] Active Directory session settings for 'Install-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:21.0719] [2] Beginning processing install-TransportAgent -Name:'Text Messaging Delivery Agent' -TransportAgentFactory:'Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory' -AssemblyPath:'C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll'
[09/21/2014 08:12:21.0734] [2] [WARNING] An unexpected error has occurred and a Watson dump is being generated: Value cannot be null.
Parameter name: path1
[09/21/2014 08:12:21.0734] [2] [ERROR] Value cannot be null.
Parameter name: path1
[09/21/2014 08:12:22.0109] [2] Active Directory session settings for 'Enable-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.domain.local', Preferred Global Catalog: 'SBS.domain.local', Preferred Domain Controllers: '{ SBS.domain.local }'
[09/21/2014 08:12:22.0109] [2] Beginning processing enable-transportagent -Identity:'Text Messaging Delivery Agent'
[09/21/2014 08:12:22.0124] [2] [ERROR] Unexpected Error
[09/21/2014 08:12:22.0124] [2] [ERROR] Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/21/2014 08:12:22.0124] [2] Ending processing enable-transportagent
[09/21/2014 08:12:22.0124] [1] The following 2 error(s) occurred during task execution:
[09/21/2014 08:12:22.0124] [1] 0.  ErrorRecord: Value cannot be null.
Parameter name: path1
[09/21/2014 08:12:22.0124] [1] 0.  ErrorRecord: System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.LoadAssemblyAndCreateInstance[T](AgentInfo agentInfo, CreateInstance`1 createInstance, String& agentPath, Exception& exception)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.GetAgentManagerInstance(AgentInfo agentInfo)
   at Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent.ValidateDeliveryAgent(AgentInfo agentInfo)
   at Microsoft.Exchange.Management.AgentTasks.InstallTransportAgent.InternalProcessRecord()
   at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
[09/21/2014 08:12:22.0124] [1] [ERROR] The following error was generated when "$error.Clear(); 
          $agentName = "Text Messaging Delivery Agent";
          $agentFactory = "Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory";
          $agentAssembly = ($RoleInstallPath + "bin\Microsoft.Exchange.MobileDriver.dll");
          $agent = get-transportagent -Identity:$agentName;
          if ($agent) {
          uninstall-transportagent -Identity:$agentName;
          };
          install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly;
          if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };
        " was run: "Value cannot be null.
Parameter name: path1".
[09/21/2014 08:12:22.0124] [1] [ERROR] Value cannot be null.
Parameter name: path1
[09/21/2014 08:12:22.0124] [1] 1.  ErrorRecord: Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/21/2014 08:12:22.0124] [1] 1.  ErrorRecord: System.ArgumentException: Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/21/2014 08:12:22.0124] [1] [ERROR] The following error was generated when "$error.Clear(); 
          $agentName = "Text Messaging Delivery Agent";
          $agentFactory = "Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory";
          $agentAssembly = ($RoleInstallPath + "bin\Microsoft.Exchange.MobileDriver.dll");
          $agent = get-transportagent -Identity:$agentName;
          if ($agent) {
          uninstall-transportagent -Identity:$agentName;
          };
          install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly;
          if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };
        " was run: "Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity".
[09/21/2014 08:12:22.0124] [1] [ERROR] Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/21/2014 08:12:22.0124] [1] [ERROR-REFERENCE] Id=BridgeheadComponent___d1104614a1a845e38e6874e5f4e10bca Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[09/21/2014 08:12:22.0124] [1] Setup is stopping now because of one or more critical errors.
[09/21/2014 08:12:22.0124] [1] Finished executing component tasks.
[09/21/2014 08:12:22.0265] [1] Ending processing Install-BridgeheadRole

Open in new window


The server is running Windows SBS 2011 with F-Secure PSB Email and Server Security.
I'm updating Exchange 2010 from SP1 to SP3
I've looked around the net and found a someone with a similiar issue here
They managed to apparently fix the issue by restarting the server and manually re-adding the agent.

I've rebooted the server, found that the Text Messaging Delivery Agent was missing from the list of Transport Agents, so I have manually re-added the agent by running the command
install-TransportAgent -Name:'Text Messaging Delivery Agent' -TransportAgentFactory:'Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory' -AssemblyPath:'C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll'

Open in new window

Followed by changing its priority to 3 and enabling the agent. However the same error message occurs when re-running the service pack 3 installation.

Could anyone offer some assistance with this?
0
Comment
Question by:Richard H
2 Comments
 

Accepted Solution

by:
Richard H earned 0 total points
ID: 40335140
Ok, Looks like I've managed to fix this issue myself and the likely the cause was a faulty SP3 install package.

In the interest of sharing, here is what I did:

1) Rebooted the server (again)
2) Downloaded a fresh copy of Exch SP3 and extracted it to a completely different folder than before.
3) In the Exchange shell, I ran Get-TransportAgent and confirmed that Text Messaging Delivery Agent was missing
4) Manually added the agent using the following script
install-TransportAgent -Name:'Text Messaging Delivery Agent' -TransportAgentFactory:'Microsoft.Exchange.TextMessaging.MobileDriver.TextMessagingDeliveryAgentFactory' -AssemblyPath:'C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.MobileDriver.dll'

Open in new window

5) Restarted Exchange Transport service
6) Set the priority of the Text agent to 3 using the following script:
Set-TransportAgent "Text Messaging Delivery Agent" -Priority 3

Open in new window

Note: I set the priority to 3 as this mimic'ed another clients server which has SP3 installed already.
7) Restarted Exchange Transport service
8) Enabled the Text Messaging Delivery Agent:
Enable-TransportAgent "Text Messaging Delivery Agent"

Open in new window

9) Restarted transport agent
10) Started SP3 installation using the freshly downloaded/extracted package

I'm sure the above could be streamlined, but while I am fairly confident with Exchange, shell commands are not my strong suit.
0
 
LVL 7

Expert Comment

by:Senior IT System Engineer
ID: 40582372
thanks for sharing i here man.

did you run the command from Run As Administrator privileged cmd prompt ?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question