报错日志如下:
日志名称: Application
来源: MSCRMEmail
日期: 2013/12/17 8:55:19
事件 ID: 16192
任务类别: 无
级别: 错误
关键字: 经典
用户: 暂缺
计算机: xrmweb.wenyi.com
描述:
#16192 - 电子邮件路由器服务无法运行服务的主要后台线程。电子邮件路由器服务无法继续,将立即关闭。 System.Configuration.ConfigurationErrorsException: 电子邮件路由器服务无法访问系统状态文件 Microsoft.Crm.Tools.EmailAgent.SystemState.xml。该文件可能丢失或不可访问。电子邮件路由器服务无法继 续,将立即关闭。 ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
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.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()
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSCRMEmail" />
<EventID Qualifiers="0">16192</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-12-17T00:55:19.000000000Z" />
<EventRecordID>683120</EventRecordID>
<Channel>Application</Channel>
<Computer>xrmweb.wenyi.com</Computer>
<Security />
</System>
<EventData>
<Data>#16192 - 电子邮件路由器服务无法运行服务的主要后台线程。电子邮件路由器服务无法继续,将立即关闭。 System.Configuration.ConfigurationErrorsException: 电子邮件路由器服务无法访问系统状态文件 Microsoft.Crm.Tools.EmailAgent.SystemState.xml。该文件可能丢失或不可访问。电子邮件路由器服务无法继 续,将立即关闭。 ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
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.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()</Data>
</EventData>
</Event>
解决方法:http://support.microsoft.com/kb/954522/zh-cn