I downloaded a MS 2012 R2 baseline, created a duplicate of that, customized the duplicated baseline as per out infra & locked it.
Ran a compare between the original MS baseline & the customized one. Worked perfect.
I exported the customized baseline in GPO Backup folder format.
Now accidentally I deleted the customized baseline from SCM console, as well as the Original MS baseline.
Never mind I imported the customized baseline back on the tool from the backup I created & again downloaded the default MS baseline.
So now again I've the customized baseline which I imported as well as the original MS baseline with me.
But when I run a comparison between them it gives me an error as " "The node to be inserted is from a different document context"
But if the same imported customized baseline I compare it with any other Original MS baseline, it gives me the correct results without error.
It just gives me the error only when I compare the Customized baseline with it's Original baseline.
Any helps please?
Here's the complete error details:-
=============================
System.ArgumentException
==================
The node to be inserted is from a different document context.
------------------
Program Location:
at System.Xml.XmlNode.AppendChild(XmlNode newChild)
at Microsoft.SecurityComplianceManager.ClientObjects.Settings.Setting.CompareExportInfo(XmlDocument xmlDoc, XmlElement xmlSetting, Setting compareSetting)
at Microsoft.SecurityComplianceManager.ClientObjects.Settings.Setting.Compare(XmlDocument xmlDoc, Setting compareSetting)
at Microsoft.SecurityComplianceManager.ClientObjects.Baselines.Baseline.Compare(Baseline baselineB, String filePath)
at Microsoft.SecurityComplianceManager.UI.CompareBaselines.ButtonOKClick(Object sender, RoutedEventArgs e)