• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1795
  • Last Modified:

exchange 2007 antispam agent made transport service won't start

I tried to install antispam feature over the exchange 2007 server. After that the Exchange Transport Service won't start.  I got event id 16023 with below details. If I uninstall this antispam, the transport service starts O.K. Any sussgestion?

Microsoft Exchange couldn't start transport agents. The Microsoft Exchange Transport service will be stopped. Exception details: Failed to create type 'Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory' from assembly 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transport.Agent.Hygiene.dll' due to error 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))'. : Microsoft.Exchange.Data.ExchangeConfigurationException: Failed to create type 'Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory' from assembly 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transport.Agent.Hygiene.dll' due to error 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))'. ---> Microsoft.Exchange.Data.ExchangeConfigurationException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at Microsoft.Exchange.Data.Transport.Interop.UnsafeNativeMethods.CoCreateInstance(Guid rclsid, Object pUnkOuter, UInt32 dwClsContext, Guid riid)
   at Microsoft.Exchange.Data.Transport.Interop.ComProxy.CreateComObject(Guid guidClass)
   at Microsoft.Exchange.Data.Transport.Interop.ComProxy..ctor(Guid guidClass)
   at Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory.InitializeFilter()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory.InitializeFilter()
   at Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory.Configure(Boolean onStartup)
   at Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory..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)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.RuntimeSettings..ctor(MExConfiguration config, String agentGroup)
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExRuntime.Initialize(String configFile, String agentGroup)
   at Microsoft.Exchange.Protocols.Smtp.MExEvents.Initialize(String configFilePath)
   at Microsoft.Exchange.Transport.Components.SmtpMExRuntimeLoader.Load()
0
larose10
Asked:
larose10
  • 2
1 Solution
 
larose10Author Commented:
I checked event viewer again and I found this error comes first. Event ID 303 and details are as below. I checked directory Hygiene's folder security and it has NETWORK SERVICE account with read permission.

Microsoft Exchange was unable to initialize the Content Filter agent. Check the access control lists (ACLs) on the files under 'C:\Program Files\Microsoft\Exchange Server\TransportRoles\agents\Hygiene' and make sure the Microsoft Exchange Transport service can access them. Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at Microsoft.Exchange.Data.Transport.Interop.UnsafeNativeMethods.CoCreateInstance(Guid rclsid, Object pUnkOuter, UInt32 dwClsContext, Guid riid)
   at Microsoft.Exchange.Data.Transport.Interop.ComProxy.CreateComObject(Guid guidClass)
   at Microsoft.Exchange.Data.Transport.Interop.ComProxy..ctor(Guid guidClass)
   at Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory.InitializeFilter()
0
 
SurajCommented:
Uninstalled the Content filter agent and reinstalled it usuing the command:--
****************************************************************************************
Install-TransportAgent -Name "Content Filter Agent" -TransportAgentFactory
"Microsoft.Exchange.Transport.Agent.ContentFilter.ContentFilterAgentFactory"
-AssemblyPath "C:\Program Files\Microsoft\Exchange
Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transport.Agent.Hygiene.dll"

-x-sam-
0
 
SurajCommented:


before trying the above stem check this :

- Launch Windows Explore -Navigate to the "..Exchange Server\TransportRoles" folder -Verify that "NETWORK SERVICE" has full control on the "TransportRoles" folder, and all subfolders/files - Start the Transport service
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now