General Error: Corrupt TermExtract file
Reference Number: AA-00203 Created: 10-10-2012 14:02 Last Updated: 30-08-2017 21:35 100 Rating/ 1 Voters

Title: Corrupt TermExtract file

 

Context: You cannot open a memoQ project. Upon opening it you are confronted with a general error.

MemoQ Version: Any

 

Description: When the general error message appears, click on “More” in order to know better what it relates to. If the very last line of the call stack happens to be:

Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTEXProjectInfo.Read5_TEXProjectInfo()“

Then your TermExtract.xml file is corrupt and needs to be deleted manually.

 

Fix: In order to find the TermExtract.xml file you must navigate to:

“C:\users\username\my documents\my memoq projects\projectfolder”

Once you have found the file, delete it.

 

 Example: Below is an example of call stack that indicates the TermExtract.xml is corrupt.

 

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, Type[] extraTypes)

   at Kilgray.Utils.SerializationHelper.DeserializeXML[ObjectType](String filePath)

   at MemoQ.TEX.TermExtractionSessionsManager.LoadProjectTEXInfo(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.XmlReader.MoveToContent()

   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTEXProjectInfo.Read5_TEXProjectInfo() 

Rss Comments (Please do not post support requests here.)
  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below:
Quick Jump Menu
Info Missing an article? Let us know!