Solved

Exchange 2010 SP3 Install Failed

Posted on 2014-09-21
2
641 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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now