Exchange 2010 SP3 - Update failed - Text Messaging Delivery Agent

Hi All,

When attempting to install Exchange service pack 3 update, it fails when attempting to remove/add a transport agent "Text Messaging Delivery Agent".

I've had a look around but I cannot see anyone else who has had this problem.

 
[09/10/2013 23:19:18.0290] [2] Active Directory session settings for 'Get-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0290] [2] Beginning processing get-transportagent -Identity:'Text Messaging Routing Agent'
[09/10/2013 23:19:18.0290] [2] Ending processing get-transportagent
[09/10/2013 23:19:18.0290] [2] Active Directory session settings for 'Uninstall-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0290] [2] Beginning processing uninstall-transportagent -Identity:'Text Messaging Routing Agent'
[09/10/2013 23:19:18.0290] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/10/2013 23:19:18.0290] [2] Ending processing uninstall-transportagent
[09/10/2013 23:19:18.0290] [2] Active Directory session settings for 'Install-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0290] [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/10/2013 23:19:18.0337] [2] [WARNING] Please exit Windows PowerShell to complete the installation.
[09/10/2013 23:19:18.0337] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/10/2013 23:19:18.0337] [2] Ending processing install-TransportAgent
[09/10/2013 23:19:18.0337] [2] Active Directory session settings for 'Enable-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0337] [2] Beginning processing enable-transportagent -Identity:'Text Messaging Routing Agent'
[09/10/2013 23:19:18.0352] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/10/2013 23:19:18.0352] [2] Ending processing enable-transportagent
[09/10/2013 23:19:18.0352] [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/10/2013 23:19:18.0352] [2] Active Directory session settings for 'Get-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0352] [2] Beginning processing get-transportagent -Identity:'Text Messaging Delivery Agent'
[09/10/2013 23:19:18.0368] [2] Ending processing get-transportagent
[09/10/2013 23:19:18.0368] [2] Active Directory session settings for 'Uninstall-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0368] [2] Beginning processing uninstall-transportagent -Identity:'Text Messaging Delivery Agent'
[09/10/2013 23:19:18.0368] [2] [WARNING] The following service restart is required for the change(s) to take effect : MSExchangeTransport
[09/10/2013 23:19:18.0368] [2] Ending processing uninstall-transportagent
[09/10/2013 23:19:18.0368] [2] Active Directory session settings for 'Install-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0368] [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/10/2013 23:19:18.0399] [2] [WARNING] An unexpected error has occurred and a Watson dump is being generated: Value cannot be null.
Parameter name: path1
[09/10/2013 23:19:18.0399] [2] [ERROR] Value cannot be null.
Parameter name: path1
[09/10/2013 23:19:18.0868] [2] Active Directory session settings for 'Enable-TransportAgent' are: View Entire Forest: 'True', Configuration Domain Controller: 'SBS.business.local', Preferred Global Catalog: 'SBS.business.local', Preferred Domain Controllers: '{ SBS.business.local }'
[09/10/2013 23:19:18.0868] [2] Beginning processing enable-transportagent -Identity:'Text Messaging Delivery Agent'
[09/10/2013 23:19:18.0884] [2] [ERROR] Unexpected Error
[09/10/2013 23:19:18.0884] [2] [ERROR] Transport agent "Text Messaging Delivery Agent" isnt found.
Parameter name: Identity
[09/10/2013 23:19:18.0884] [2] Ending processing enable-transportagent
[09/10/2013 23:19:18.0884] [1] The following 2 error(s) occurred during task execution:
[09/10/2013 23:19:18.0884] [1] 0.  ErrorRecord: Value cannot be null.
Parameter name: path1
[09/10/2013 23:19:18.0884] [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/10/2013 23:19:18.0884] [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/10/2013 23:19:18.0884] [1] [ERROR] Value cannot be null.
Parameter name: path1
[09/10/2013 23:19:18.0884] [1] 1.  ErrorRecord: Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/10/2013 23:19:18.0884] [1] 1.  ErrorRecord: System.ArgumentException: Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/10/2013 23:19:18.0884] [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/10/2013 23:19:18.0884] [1] [ERROR] Transport agent "Text Messaging Delivery Agent" isn't found.
Parameter name: Identity
[09/10/2013 23:19:18.0884] [1] [ERROR-REFERENCE] Id=BridgeheadComponent___d1104614a1a845e38e6874e5f4e10bca Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[09/10/2013 23:19:18.0884] [1] Setup is stopping now because of one or more critical errors.

Open in new window

LVL 1
ITtelligentAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sushil SonawaneCommented:
Before installation of exchange service pack -3. Disable the transport agent third party transport agent.

To disable the agent refer below link :

http://vamsoft.com/support/docs/orf-help/5.1/ta-manage

http://technet.microsoft.com/en-us/library/aa997880(v=exchg.150).aspx
0
ITtelligentAuthor Commented:
@sushil84

It is not a 3rd party agent, it is a Microsoft one.

The log above shows it first being added (if not present), then it being deleted, then trying to add another time - and this is where things go bad.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ITtelligentAuthor Commented:
restarting the server, re-adding the agent, sorted out the problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.