Hi All,
In a following post we will see an Issue resolution of MetaLogix.
After installation on MetaLogix Content Matrix Console on WFE (console,
wsp).When I try to open the Content Matrix Console (in Administrator Mode
only), I got the below Error:
The date file
"C:\ProgramData\Metalogix\EnvironmentSettings.Xml" contains invalid data.
Values in that file reset to default.
STACK Trace:
Stack: 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, Int32 bufferSize, FileOptions options, String msgPath, Boolean
bFromProxy)
at
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize)
at
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn)
at
System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at
System.Threading.CompressedStack.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData)
at
System.Threading.CompressedStack.Run(CompressedStack compressedStack,
ContextCallback callback, Object state)
at
System.Xml.XmlTextReaderImpl.OpenUrl()
at
System.Xml.XmlTextReaderImpl.Read()
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
Metalogix.DataResolution.FileTableDataResolver.Load()
Type:
System.UnauthorizedAccessException
HResult:-2147024891
Resolution:
The account which I have logged into server is member of Local Administrator Group.
Navigate to “C” drive and change the setting to ,View
the hidden files, then we are able to see the “ProgramData” folder.
Open the ProgramData Folder and Metalogix , just delete the
“EnvironmentSettings.xml” file and try to open the MetaLogix Console.Now, We won’t get an
issue.
If it is not allowed to delete the file. Please follow the
below steps, First we need to provide permissions to the current user.
Choose the Security Tab and click on "Advanced" button.
Here, we need to change the owner ,click on "Change"
Provide the "Administrators" or "Current User" and "Check Names" and "OK".
Thanks.
0 comments:
Post a Comment