Microsoft Exchange Transport service fails to start after Symantec Mail Security for Microsoft Exchange (SMSMSE) is upgraded to a newer version.

Article:TECH203819  |  Created: 2013-03-12  |  Updated: 2014-01-20  |  Article URL http://www.symantec.com/docs/TECH203819
Article Type
Technical Solution


Issue



You have been trying to upgrade SMSMSE and failed at least once due to some prerequisite settings were not configured properly, for example ASP.NET was not enabled in IIS. After SMSMSE was upgraded successfully, you found that Microsoft Exchange Transport service failed to start.

 


Error



Similar error could be observed from Windows Application event log:

Log Name:      Application
Source:        MSExchangeTransport
Date:          13/03/2013 5:59:24 PM
Event ID:      7001
Task Category: Components
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      Computer
Description:
The service will be stopped. Reason: Failed to create type 'Symantec.MailSecurity.Server.TransportAgent.SMSMSERoutingAgentFactory' from assembly 'E:\Program Files (x86)\Symantec\SMSMSE\6.5\Server\Symantec.MailSecurity.Server.TransportAgent.dll' due to error 'Invalid agent assembly path.'.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeTransport" />
    <EventID Qualifiers="16388">7001</EventID>
    <Level>4</Level>
    <Task>6</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-03-13T06:59:24.000Z" />
    <EventRecordID>867311</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Computer</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Failed to create type 'Symantec.MailSecurity.Server.TransportAgent.SMSMSERoutingAgentFactory' from assembly 'E:\Program Files (x86)\Symantec\SMSMSE\6.5\Server\Symantec.MailSecurity.Server.TransportAgent.dll' due to error 'Invalid agent assembly path.'.</Data>
  </EventData>
</Event>


Environment



SMSMSE 7.0.x

Microsoft Exchange 2007 / 2010


Cause



Microsoft Exchange maintains the list of transport agents on agents.config file. After SMSMSE upgrade fails once, this file is not maintained properly on the next trial of installation. The paths to the SMSMSE library file are not updated properly.


Solution



Symantec is aware of this issue and will update this document when a solution becomes available. It may not be necessary to log a support case on this issue. Please subscribe to this article to be notified of any updates.

Workaround:

Agents.config can be found under "<Drive>:\Program Files\Microsoft\Exchange Server\TransportRoles\Shared".

Open the file and correct the 2 paths for SMSMSE library file "Symantec.MailSecurity.Server.TransportAgent.dll". Start the Microsoft Exchange Transport service after the file is edited and saved.

The dll file is usually located under "<Drive>:\Program Files (x86)\Symantec\SMSMSE\<version>\Server".


Supplemental Materials

SourceETrack
Value 3119697


Article URL http://www.symantec.com/docs/TECH203819


Terms of use for this information are found in Legal Notices