Solved

MS Exchange Mail Flow

Posted on 2013-01-08
15
600 Views
Last Modified: 2013-02-23
Hi

I have an issue that has turned up randomly and not sure where the issue comes from.
This server has been operational with no issues for over 12 Months.

This morning I cannot send or recieve email from the server.

Microsft exchange transport service will not start and I have some odd permission errors happening.

Below is the error as viewed in the event log.

Any assistance in finding the fault here would be much appreciated.

Cheers
Paul

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\V14\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\V14\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..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, Boolean isBridgeHead, String installPath)
   at Microsoft.Exchange.Transport.Extensibility.AgentComponent.Load()
0
Comment
Question by:kennedypd1
  • 9
  • 5
15 Comments
 
LVL 33

Expert Comment

by:Busbar
ID: 38757867
ok first, can you uninstall the spam filters and then reenabled them again.
0
 

Author Comment

by:kennedypd1
ID: 38757931
Thanks for your quick response.

Something I forgot to mention.
If I go into the services panel and change the logon for the transportation service to my administrators logon it starts just fine and I can see the queue but it cant deliver the mail as it has to be networkservice to access mailboxes as I understand it. This to me seems to mean I have an access issue error with my networkservice.

When you say spam filters you want me to uninstall AVG?

Cheers
Paul
0
 
LVL 33

Expert Comment

by:Busbar
ID: 38757937
don't change the services' accounts.
do you have a list of them, return them to the default, also make sure that no GPO applies that prevents local system and network service from logging into the server.
0
 

Author Comment

by:kennedypd1
ID: 38757979
Hi

I have returned the logon to network service.
I can see nothing in the GPO that would stop these accounts logging on.
0
 
LVL 33

Expert Comment

by:Busbar
ID: 38757993
i don't think that all of them run network service
0
 

Author Comment

by:kennedypd1
ID: 38758032
I only altered the microsoft exchange transportation service so have restored that one only
0
 
LVL 33

Expert Comment

by:Busbar
ID: 38758049
ok and you still getting the errors, have you rebooted the server since the change
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:kennedypd1
ID: 38758103
Have rebooted and error still the same. The error goes when I put my admin account info into the login but then the other things dont work so have it back at network service now. The reason I raised it is that you were suggesting uninstall of AVG and would that work if the service actually works with the other login. It appears to be a permissions error on the network service login.
0
 
LVL 33

Expert Comment

by:Busbar
ID: 38758110
hmm, it looks that you are not putting the network service account password.
0
 

Author Comment

by:kennedypd1
ID: 38758112
the network service does not have a password. They are setup this way by the operating system
0
 
LVL 19

Expert Comment

by:R--R
ID: 38758918
Give network service account permission on 'C:\Program Files\Microsoft\Exchange Server\V14
and subfolders.
0
 

Author Comment

by:kennedypd1
ID: 38760452
Hi

NetworkService does not come as a user that you can add to security. What I have done is given Network Service which is a group full access to this folder. I believe that this should cover it. I can drill down to the dll that the error message is complaining about and see that Network Service has full access to it.

Cheers
Paul
0
 

Author Comment

by:kennedypd1
ID: 38760612
Hi

Have noticed that the folders inside C:\Program Files\Microsoft\Exchange Server\V14 have a tick in the read only box. I remove this and it applies it to the sub folders but the tick just comes right back.

Any thoughts?
0
 

Accepted Solution

by:
kennedypd1 earned 0 total points
ID: 38903380
I had to do a full server reload to resolve this. Not an ideal situation but was going to be quicker that trying to resolve.
0
 

Author Closing Comment

by:kennedypd1
ID: 38920859
I did not find a solution to issue apart from reload of server
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now