Event viewer mmc error when filter current log is selected

T

tonyb2014

When using our windows server 2012 R2 Event viewer, if I select a filter current log, I see an MMC.exe error, stating MMC has detected an error in a snap-in and will unload it. If I select ignore error and carry on I then get an "Unhandled exception in Managed Code Snap-in" dialog with Exception Type: System.IO.IOExeception and some stack trace info.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.get_IsReadOnlyView()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.UpdateReadOnly()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.InitializeQueryNode(FileInfo fileInfo)
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.AddSubNodes(DirectoryInfo dir, EventNodeType nodeType, Boolean userQuery, String standardViewConfig)
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.AddSavedQueryNodes()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.CreateChildNodes()
at Microsoft.Windows.ManagementUI.CombinedControls.TreeComboBox.ProcessEventItems(EventsNode& parent)
at Microsoft.Windows.ManagementUI.CombinedControls.TreeComboBox.ProcessEventItems(EventsNode& parent)
at Microsoft.Windows.ManagementUI.CombinedControls.TreeComboBox.InitializeTree()
at Microsoft.Windows.ManagementUI.CombinedControls.TreeComboBox.Initialize(IntPtr session, Boolean allowManualEdit)
at Microsoft.Windows.ManagementUI.CombinedControls.QueryFilter.ResetOrInitializeView()
at Microsoft.Windows.ManagementUI.CombinedControls.QueryFilterDlg.InitializeView(EventsNode rootNode)
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.ExecuteFilterAction()
at Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.OnAction(ManagementAction action)
at Microsoft.EventViewer.SnapIn.ViewerRootNode.OnAction(ManagementAction mmcAction)
at Microsoft.EventViewer.SnapIn.ViewerRootNode.OnAction(Object sender, SyncActionEventArgs e)
at Microsoft.ManagementConsole.SyncAction.RaiseTriggeredEvent(Object sender, SyncStatus status)
at Microsoft.ManagementConsole.ScopeNode.DoAction(Int32 actionId, IRequestStatus requestStatus)
at Microsoft.ManagementConsole.NodeSyncManager.ProcessRequest(NodeRequestInfo info, IRequestStatus requestStatus)
at Microsoft.ManagementConsole.SnapIn.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Internal.SnapInClient.Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)
at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)
at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)

It has worked in the past, but at some point it has stopped working, I imagine after an update.

How can I resolve this ?

Regards

Tony

Continue reading...
 
Back
Top Bottom