Opening project throws XML error
Description: Opening a project in memoQ throws an error, and the project does not open.FIX: If the error message is the same as the one below, it means that some of the XML files corresponding with the project are corrupt. Deleting the "Monolingualreview.XML" and "TermExtract.XML" files from the project's folder will allow you to open the project again.
- Go to "C:\Users\%username%\Documents\My memoQ projects".
- Locate the folder of the project that you last worked on.
- Delete the above mentioned xml files from it.
- Start memoQ and check if the issue is still present.
Example error message:
TYPE:
System.InvalidOperationException
MESSAGE:
There is an error in XML document (0, 0).
SOURCE:
System.Xml
CALL STACK:
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Kilgray.Utils.SerializationHelper.DeserializeXML(Type objType, String filePath)
at Kilgray.Utils.SerializationHelper.DeserializeXML[ObjectType](String filePath)
at MemoQ.MonolingualReview.MonolingualReviewSessionsManager.LoadProjectMRInfo(String projectDirectory)
at MemoQ.Project.ProjectDocument.OnOpenDocument(Object openParam)
at MemoQ.ApplicationFramework.DocTypeManager.<>c__DisplayClass14_0.<OpenDocument>b__0()
at MemoQ.ApplicationFramework.DocTypeManager.executeFromOpenErrorHandlingBlock(Func`1 func, Object openParam)
------------------ Inner exception ------------------
TYPE:
System.Xml.XmlException
MESSAGE:
Root element is missing.
SOURCE:
System.Xml
CALL STACK:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderMRProjectInfo.Read6_MRProjectInfo()
Comments
0 comments
Please sign in to leave a comment.