E-mail Router service failes to start after rollup 5
After installing Microsoft CRM Rollup 5 (incl. reboot) the email router service failed to start. In the event log the following error appeared: The E-mail Router service could not run the service main background thread.
Event Type: Error Event Source: MSCRMEmail Event Category: None Event ID: 0 Date: 4/08/2009 Time: 16:31:17 User: N/A Computer: VMAP01 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. |
When I open the file Microsoft.Crm.Tools.EmailAgent.SystemState.xml in the folder <<InstallPath>>\ Service the file was empty. I then looked at the file on other systems and the only thing I found is there was
<State></State> |
So I opened the file again, entered this xml and saved the file. Now everything seems to work fine.
Edit: Later I found this KB from Microsoft with a simpler solution => Just delete the file!! :-/
http://support.microsoft.com/kb/954522
Posted: August 9th, 2009 under MS CRM 4.0.
Comments: none
Write a comment