Glazenbakje's Weblog

Just another way to express myself

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: http://support.kaspersky.com/exchange/security8.0?level=2 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
Description:
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’.
at
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

Confirm
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.

About these ads

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

  1. Christoph Schneider 30 December 2011 at 01:10

    Hi, i’ve exactly the same issue. Thank you for posting your solution, i will contact the german kaspersky support tomorrow. I will poste my solution later…

  2. jeff 19 January 2012 at 18:12

    Thanks for your ansmer. I had the problem and the issu became with you.

  3. Adrian 26 April 2012 at 09:09

    I had the same issue just now, THANK YOU !!! for this post !!
    -Adrian

  4. Matt 12 May 2012 at 16:35

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

  5. ozijat 9 April 2013 at 10:40

    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.
    Cheers
    Ozijat

  6. Mark 9 April 2013 at 22:54

    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 http://support.kaspersky.com/8350
    installation exchange 2010 sp3
    mail flow OK
    installation kaspersky 8.2.124.0 which should have tackled this problem
    NO MAIL FLOW !
    disabled the kaspersky transport agent, restart transport service
    mail flow OK

    i will mail this to kaspersky also

  7. hafeez 17 April 2013 at 13:05

    @Mark hope this article helps you http://support.kaspersky.com/9781

    • mark 17 April 2013 at 18:32

      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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 445 other followers

%d bloggers like this: