Solved

Exchange 2010 SP3 Install Failed

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

617 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