Microsoft Exchange 2010 Unable to send or receive e-mail after update from SP1 to SP2 [ update 2 ]

[UPDATE 2 | 24-1-2012]

Kaspersky release a maintenance update 1 for Kaspersky for Exchange 8.0 you can download this update here: it took like a month to get this update which they released.

[UPDATE 1 | 22-12-2011 ]

Today I got a email message of Kaspersky Support NL. After finding out on a forum post at the Kaspersky website. I contacted the support department in The Netherlands. They gave me 3 new DLL files
– ExchangeIntegration.Transport.dll
– ExchangeIntegration.Transport.Routing.Antivirus.dll
– ExchangeIntegration.Transport.Smtp.Antispam.dll

To get these files you have to contact the support of Kaspersky.

THey say this is a workaround which is not supported by Kaspersky Support. Which is strange because they supply the workaround to the people who contact the support of Kaspersky. The German support department of Kaspersky found this workaround!!

They expect the official patch in Januari 2012.

[ original post ]

After experience the problem that the Microsoft Exchange Transport services didn’t want to start an I discovered the following message in the event log ( this problem occurred after installation of exchange 2010 service pack 2. On a Microsoft Exchange 2010 SP1 R5 server with also Kaspersky security 8.0 for Microsoft Exchange installed )

After looking around what it caused the problem was. The problem was that the Transport agent of Kaspersky didn’t function good anymore after the update to SP2.

Log Name: Application
Source: MSExchangeTransport
Date: 12/10/2011 5:52:58 PM
Event ID: 16023
Task Category: Configuration
Level: Error
Keywords: Classic
User: N/A
Computer: exch2010.domain.local
Microsoft Exchange couldn’t start transport agents. The Microsoft Exchange Transport service will be stopped. Exception details: Failed to create type ‘Transport.Routing.Antivirus.FilterFactory’ from assembly ‘C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security 8.0 for Microsoft Exchange Servers\ExchangeIntegration.Transport.Routing.Antivirus.dll’ due to error ‘type not found’. :
Microsoft.Exchange.Data.ExchangeConfigurationException: Failed to create type ‘Transport.Routing.Antivirus.FilterFactory’ from assembly ‘C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security 8.0 for Microsoft Exchange Servers\ExchangeIntegration.Transport.Routing.Antivirus.dll’ due to error ‘type not found’.
Microsoft.Exchange.Data.Transport.Internal.MExRuntime.FactoryTable.CreateAg entFactory(AgentInfo agentInfo)

To solve this issue you need to do the following

1: Open Exchange Management Shell
2: Do a Get-TransportAgent it gives a list of all transport agents, you will see which additional programs have plugged into the sequence.

[PS] C:\Windows\system32>Get-TransportAgent
PS] C:\Windows\system32>Get-TransportAgent

Identity                                           Enabled         Priority
--------                                           -------         --------
Kaspersky Security antivirus filter agent          True               1
Transport Rule Agent                               True               2
Text Messaging Routing Agent                       True               3
Text Messaging Delivery Agent                      True               4

[PS] C:\Windows\system32>

You see the transport Rules which are enabled. To disable the transport
agents you have to use the following command.

3: Do a Get-TransportAgent | Disable-TransportAgent , now all transport
agents are disabled

[PS] C:\Windows\system32>Get-TransportAgent | Disable-TransportAgent

Are you sure you want to perform this action?
Disabling Transport Agent "Kaspersky Security antivirus filter agent".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):

You will get the question to disable all Transport Agents or just one.

4: Disable kaspersky transport agent [y]
Leave the other agents enabled.

5: Restart the Microsoft Exchange Transport service.

When you have restarted the Microsoft Exchange Transport Service. You
should test if you can send and receive an email from external. I this is
correct you are able to send mail again and receive it.


8 thoughts on “Microsoft Exchange 2010 Unable to send or receive e-mail after update from SP1 to SP2 [ update 2 ]

  1. Awesome. Thanks for posting!!! Had exactly the same problem with a Metaduct Transport

  2. Thanks Mate. Had the same problem. However all the Kaspersky support pages relating to this issue were not working. On contacting the Kaspersky support was advised that they will be posting the resolutions in a day. The fix you provided has at least got the mail going.

  3. thanks for the tip, at least the mail flow is OK again.
    here is what I did:
    upgrade exchange 2010 to SP2
    Kaspersky 8.0 not working, manual removal
    installation exchange 2010 sp3
    mail flow OK
    installation kaspersky which should have tackled this problem
    disabled the kaspersky transport agent, restart transport service
    mail flow OK

    i will mail this to kaspersky also

    • hafeez: thanks a lot : this solved my problem!
      disable & stop KSCM8 service
      install patch (dll’s overwrite)
      installeed antispam transport-agent
      enabled both agents (antivirus/antispam) via exchange powershell
      enable & start KSCM8 service
      ms transport herstart
      -> fixed !

      just after your post an answer from kaspersky arrived. They have a new version ready (which probably contains the new dll’s the patch from your link ! didn’t try that though….

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.