Search This Blog

Thursday, December 18, 2014

MSCRM Email router issue

Log Name:      Application
Source:        MSCRMEmail
Date:          17.12.2014 09:15:50
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xx
Description:
Error accesing SystemState.xml. Restore file with last backup.

Log Name:      Application
Source:        MSCRMEmail
Date:          17.12.2014 09:15:50
Event ID:      16192
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xx
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: System information was not specified in the E-mail Router service configuration file. The E-mail Router service cannot continue and will now shut down. ---> System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: UserId, ProviderConfiguration, Configuration. Line 74, position 42.
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   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.SystemConfiguration.Initialize(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()




to restore  

  • Microsoft.Crm.Tools.EmailAgent.Configuration.bin
  • Microsoft.Crm.Tools.EmailAgent.SystemState.Xml

1 comment:

cakuro said...

Microsoft.Crm.Tools.EmailAgent.xml
That file also. In our case, disk got full and that file was 0 bytes. Restored from backup and started to work.