Skip to content
Interactive Webs Deign Service
  • Home
  • DNN Modules
  • Blog
  • News
  • Contact Us
Interactive Webs Deign Service
  • Home
  • DNN Modules
  • Blog
  • News
  • Contact Us

Microsoft CRM 4.0 Email Router Service Will Not Start

  • by InteractiveWebs Team
  • 2 Comments
  • CRM
Scenario: The Microsoft CRM 4.0 Email Router Service won’t start and throws an error message stating "The Microsoft CRM Email Router service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."

Lazz_error_2

The Application Event log also logs indicates an error like this:

______________________________

Event Type: Error

Event Source: MSCRMEmail

Event Category: None

Event ID: 0

Date:

Time:
User:

Computer:

Description:

#16192 – The E-mail Router service could not run the service main background thread. The E-mail Router service cannot continue and will now shut down. System.Configuration.ConfigurationErrorsException: The E-mail router service cannot access system state file Microsoft.Crm.Tools.EmailAgent.SystemState.xml. The file may be missing or may not be accessible. The E-mail Router service cannot continue and will now shut down. —> System.Xml.XmlException: Root element is missing.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.XmlTextReaderImpl.Read()

at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)

at System.Xml.XmlDocument.Load(XmlReader reader)

at System.Xml.XmlDocument.Load(String filename)

at Microsoft.Crm.Tools.Email.Providers.ConfigFileReader..ctor(String filePath, ServiceLogger serviceLogger)

at Microsoft.Crm.Tools.Email.Providers.SystemState.Initialize(ServiceLogger serviceLogger)

at Microsoft.Crm.Tools.Email.Providers.SystemState..ctor(ServiceLogger serviceLogger)

at Microsoft.Crm.Tools.Email.Agent.ServiceCore.InitializeSystemConfiguration()

— End of inner exception stack trace —

at Microsoft.Crm.Tools.Email.Agent.ServiceCore.InitializeSystemConfiguration()

at Microsoft.Crm.Tools.Email.Agent.ServiceCore.ExecuteService()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

If you look at the server services, you will also note that the Microsoft CRM Router service is not running. If you try to start it you will get the normal meaningless error saying it did not start but this could be normal… you guess!

_____________________________

Solution: See KB954522 from Microsoft and perform the steps to resolution, which are:

http://support.microsoft.com/kb/954522

1. Delete the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file.
Notes

• By default, the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file is in the following folder:

C:Program FilesMicrosoft CRM EmailService

• By default, the Service folder is a hidden folder. To see this folder, you must change the Windows Explorer settings to display hidden files and hidden folders.

2. Restart the Microsoft Dynamics CRM E-mail Router Service.
The Microsoft.Crm.Tools.EmailAgent.SystemState.xml file is re-created.

Digg This
Tags:CRM Email Router Service

2 thoughts on “Microsoft CRM 4.0 Email Router Service Will Not Start”

  1. Leo Alfa R.S 08/03/2010 at 14:09

    About this file Microsoft.Crm.Tools.EmailAgent.SystemState.xml in the folder C:\Program Files\Microsoft CRM Email\Service >> It simple just u look in service check if MSCRMEmail running or stop,then u check the size of file Microsoft.Crm.Tools.EmailAgent.SystemState.xml in the folder C:\Program Files\Microsoft CRM Email\Service if 0 kb u must rename the extention ex: Microsoft.Crm.Tools.EmailAgent.SystemState.xml2 then if the service run u must stop it first then run the service again, if already stop u just run the service andsee the size of file Microsoft.Crm.Tools.EmailAgent.SystemState.xml in the folder C:\Program Files\Microsoft CRM Email\Service it will have size notin 0 kb again.. I know this so weird I don’t use this solution… because email in CRM 4.0 is the hearth of the CRM applications it self, CRM 4.0 without email is not good application… it’s just like ordinary develop in house software only use dan reuse data…does anyone help me with other better wise solutions, I have this problem on my production server, if email not work, my email workflow will be stuck and Sales team in my company will kill me :(. I’m already update from 1-9 ( 9 is the latest)….pleaseeeee help me………

    Reply
    1. InteractiveWebs 13/03/2010 at 18:14

      I have had this on several servers. The solution is that I have found is to uninstall the email connector then reinstall. I know it sucks, but Microsoft have on their support page for this type of problem “take a backup so you can replace the directory when it screws up”. Never mind fixing it, their solution is good backup of a working directory. Go figure!
      Anyway, if we made DotNetNuke Modules that needed a good backup for when they break, we would not be in good shape.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • SmarterMail Email Setup on iPhone (Exchange) – Interactivewebs
  • Business Website with COVID-19 Safe Meetings
  • Website Auditor Reports Empty Title Tag
  • Setting up Mail App Windows 10 – InteractiveWebs SmarterMail
  • Understanding Exchange Email Services – InteractiveWebs SmarterMail

Recent Comments

  • Sunil on How to Fix Mac Microsoft Remote Desktop RDP Error Code 0x4
  • Ron on All New Landrover Discovery 5 Winch Fitting D5
  • Ricardo on Mautic 3.1 SES API Setup for Sending
  • InteractiveWebs Team on How to Fix Mac Microsoft Remote Desktop RDP Error Code 0x4
  • InteractiveWebs Team on All New Landrover Discovery 5 Winch Fitting D5

Archives

  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • May 2020
  • January 2020
  • August 2019
  • April 2019
  • December 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • January 2017
  • December 2016
  • July 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • October 2014
  • August 2014
  • June 2014
  • May 2014
  • April 2014
  • February 2014
  • December 2013
  • July 2013
  • May 2013
  • March 2013
  • January 2013
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009

Categories

  • Activity Emailer Support
  • ADFS
  • Advanced Login
  • Advanced Login Support
  • Analytics Report Support
  • Apple Mac
  • Bulk Emailer Support
  • CentOS
  • Cpanel
  • CRM
  • CRM 2011
  • CRM 2013
  • CRM 2015
  • CRM 2016
  • DKIM
  • DNN
  • DNN Module
  • DNN Outlook Social Connector Support
  • DNN Word Editor Support
  • DNS
  • DotNetNuke 6
  • DotNetNuke Modules
  • DotNetNuke Skins
  • DotNetNuke Support
  • DotNetNuke Tips
  • Dynamics 365
  • E-mail Tips
  • eLearning
  • Exchange Server
  • Feedback Designer Support
  • General Tips
  • Hyper-V
  • iOS
  • iPad
  • iPhone
  • Landrover Discovery
  • LH Pilot
  • Mautic
  • Mushroom
  • Mushroom Image
  • Mushroom Image Support
  • Mushroom Lite
  • Mushroom Lite Support
  • News
  • Office 365 Website
  • OpenCart
  • Photography
  • Pivot
  • Rants
  • SEO
  • Server Tips
  • Services
  • Silverlight
  • SmarterMail
  • SQL
  • SSL
  • Subscription Module Support
  • Support
  • TFS
  • Uncategorized
  • UsersOnline
  • UsersOnline Support
  • Web Tips
  • Websites
  • WHM
  • WHMCS
  • Windows 2012
  • Windows 2016
  • Windows 8
  • WordPress
  • Xcode
  • Zendesk

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org