none
Exchange 2013 - Transport Service issue

    Question

  • We decided to upgrade to Exchange 2013 CU 19 from our Exchange 2010 Environment and introduced 1st Exchange 2013 C19 into the environment. However , emails are not flowing between our two environments [ i.e. between Exchange 2010 and 2013 ].

    [ Exchange 2010 Version SP3 rollup 9 and Exchange 2013 is CU 19 ]

    OWA 2013 will say you dont have permission to perform this action , while trying to send email from test user created on Exchange 2013 mailbox database.

    Exchange 2013 is multirole server and having issues with its transport service and doesnt start and comes up with following error.

     EVENT ID 16023.  Source MSExchangeTransport

    Microsoft Exchange couldn't start transport agents. The Microsoft Exchange Transport service will be stopped. Exception details: Failed to create type 'Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory' from assembly 'C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll' due to error 'Agent Transport Rule couldn't load the rule collection.'. : Microsoft.Exchange.Data.ExchangeConfigurationException: Failed to create type 'Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory' from assembly 'C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll' due to error 'Agent Transport Rule couldn't load the rule collection.'. ---> Microsoft.Exchange.Data.ExchangeConfigurationException: Agent Transport Rule couldn't load the rule collection.
       at Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory..ctor()
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAgentFactory(AgentInfo agentInfo)
       at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable..ctor(IEnumerable agents, FactoryInitializer factoryInitializer)
       at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(MExConfiguration config, String agentGroup, FactoryInitializer factoryInitializer)
       at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime.Initialize(String configFile, String agentGroup, ProcessTransportRole processTransportRole, String installPath, FactoryInitializer factoryInitializer)
       at Microsoft.Exchange.Transport.Categorizer.MExEvents.Initialize(String configFilePath)
       at Microsoft.Exchange.Transport.Components.CategorizerMExRuntimeLoader.Load()

    We also see Event ID 1052 Source MSExchange Extensibility

    Failed to create agent factory for the agent 'Transport Rule Agent' with error 'Failed to create type 'Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.TransportRuleAgentFactory' from assembly 'C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\Rule\Microsoft.Exchange.MessagingPolicies.TransportRuleAgent.dll' due to error 'Agent Transport Rule couldn't load the rule collection.'.'. Please verify the corresponding transport agent assembly and dependencies with correct version are installed.


    Monday, January 15, 2018 11:11 PM

Answers

  • Update :

    One of our transport rules which was in up and working in exchange 2010 broke the transport service in Exchange 2013 which we recently introduced in our exchange environment.  Because of this transport rule , Transport rule agent was not able to load all transport rules and which in turn was breaking our Transport Service. 

    We have to delete that transport rule and after that we were able to start transport services on Exchange 2013 environment without any issues.
    • Marked as answer by Sydguy Tuesday, January 16, 2018 11:27 PM
    Tuesday, January 16, 2018 11:27 PM

All replies

  • Looks like the transport agent is corrupted. Try reinstall the Transport Agent again via PS

    <drive letter>:\Program Files\Microsoft\Exchange Server\V15\Scripts\ReinstallDefaultTransportAgents.ps1 then restart the Transport Service.

    Tuesday, January 16, 2018 12:17 AM
  • Thanks Very Much Michael. It does seem so the tranport agent is corrupt.

    If I disable built-in Transport Agent from Microsoft called “Transport Rule Agent” [ which by default has priority of 1 ] , I can start the transport service with out any issues.

    So , I am not sure why fresh Install of Exchange will have issue with built-in transport agent – “Transport Rule Agent”.

    I have also tried reinstalling agents as suggested by you above using power shell script but no luck. It comes up with same error message.

    Any other thing I could try to fix "Transport Rule Agent"

    Please advise. Thanks very much for your reply.



    Tuesday, January 16, 2018 10:51 AM
  • Update :

    One of our transport rules which was in up and working in exchange 2010 broke the transport service in Exchange 2013 which we recently introduced in our exchange environment.  Because of this transport rule , Transport rule agent was not able to load all transport rules and which in turn was breaking our Transport Service. 

    We have to delete that transport rule and after that we were able to start transport services on Exchange 2013 environment without any issues.
    • Marked as answer by Sydguy Tuesday, January 16, 2018 11:27 PM
    Tuesday, January 16, 2018 11:27 PM
  • Hi,

    Thanks for your sharing and happy to know issue has been solved!

    Have a nice day! :-)

    Regards,

    Manu Meng


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Wednesday, January 17, 2018 6:16 AM
    Moderator