DACache folder has become corrupted, leading to an xml read failure.
説明
After upgrading to AA version 8.7, the Active Administrator Foundation Service might start to fail, and the following error messages could be seen in the AFSService-CrashDmp.log file.
Begin Dump AFSService Dump file - 9/13/2024 1:25:24 PM Source:System.Xml There is an unclosed literal string. Line 23, position 74. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) at System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o) at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options) at System.Xml.Linq.XElement.Load(TextReader textReader, LoadOptions options) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DAConfigurationHelpers.ValidateConfigurationFile(Uri fileName, String validationElementName, Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DAConfigurationHelpers.GetFileNames(DAActiveDirectoryObjectType objectType, Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DAConfigurationHelpers.GetCustomAlerts(LoggedOnUserContext userContext, Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DAConfigurationHelpers.GetAllAlerts(LoggedOnUserContext userContext, Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DANotificationProvider.GetNotifications(Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DANotificationProvider.AddSnmpNotification() at Quest.AA.AFS.Loader.<>c.<<CreateDefaultSnmpNotification>b__31_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() End Dump
Begin Dump AFSService Dump file - 9/13/2024 11:38:27 AM Source:System.Xml Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) at System.Xml.Linq.XDocument.Load(TextReader textReader, LoadOptions options) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DANotificationProvider.GetNotificationDocument() at Quest.AA.AFS.ASM.ADHealth.Analyzer.DANotificationProvider.GetNotifications(Boolean lockFile) at Quest.AA.AFS.ASM.ADHealth.Analyzer.DANotificationProvider.AddSnmpNotification() at Quest.AA.AFS.Loader.<>c.<<CreateDefaultSnmpNotification>b__31_0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() End Dump