Link to home
Start Free TrialLog in
Avatar of James Jin
James JinFlag for United States of America

asked on

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()
Avatar of James Jin
James Jin
Flag of United States of America image

ASKER

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()
Avatar of Suraj
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-
ASKER CERTIFIED SOLUTION
Avatar of Suraj
Suraj
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial