Solved

Exchange 2010 SP3 Install Failed

Posted on 2014-09-21
2
748 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
how to add IIS SMTP to handle application/Scanner relays into office 365.

730 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