Cannot open a project
Thread poster: Helios_Dang

Helios_Dang  Identity Verified
Vietnam
Local time: 11:02
English to Vietnamese
+ ...
Aug 6, 2013

Hi all,

My computer accidental shut down why I was working on a project in memoQ. After that, I re-started the computer and opened memoQ. I clicked to the project and the message below appeared. What should I do now?

"Unable to open document or project.
General error."

Details:

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.TEX.TermExtractionSessionsManager.LoadProjectTEXInfo(String projectDirectory)
at MemoQ.Project.ProjectDocument.OnOpenDocument(Object openParam)
at MemoQ.ApplicationFramework.DocTypeManager.c__DisplayClass7.b__6()
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()


 

esperantisto  Identity Verified
Local time: 07:02
Member (2006)
English to Russian
+ ...
Damaged file Aug 6, 2013

I’m not really expert about MemoQ, but the error message indicates a damaged file. I doubt that anything could be done about this. Recreate the project.

 

István Lengyel
Hungary
Local time: 06:02
English to Hungarian
+ ...
TEX file damaged Aug 6, 2013

Hi Hang,

Please see the solution here.
http://kb.kilgray.com/article/AA-00203/0/General-Error:-Corrupt-TermExtract-file.html

István


 

Helios_Dang  Identity Verified
Vietnam
Local time: 11:02
English to Vietnamese
+ ...
TOPIC STARTER
The solution works Aug 6, 2013

Thanks so much István Lengyel. This works. My project was fixed.

Thanks esperantisto for your kind supporticon_smile.gif

[Edited at 2013-08-06 13:13 GMT]


 

Jenny Duthie  Identity Verified
France
Local time: 06:02
French to English
Message to István Lengyel & Hang T Nguyen re solution for damaged xml file in MemoQ Nov 28, 2013

Hello István, I have the exact same problem as Hang had in August, to which you kindly proposed a solution. However, I am unclear as to which file I will have to delete, it is not clear from your post with the link to the Kilgray helpbase, sorry.
My popup message in MemoQ is copied below for reference

Please advise, thanks very much,

Jenny Duthie

Popup message in MemoQ when I try to open this project:

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.TEX.TermExtractionSessionsManager.LoadProjectTEXInfo(String projectDirectory)
at MemoQ.Project.ProjectDocument.OnOpenDocument(Object openParam)
at MemoQ.ApplicationFramework.DocTypeManager.c__DisplayClass7.b__6()
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()


 

Helios_Dang  Identity Verified
Vietnam
Local time: 11:02
English to Vietnamese
+ ...
TOPIC STARTER
File to delete Nov 28, 2013

Delete this file:

TermExtract.xml


 

Saleh Dardeer  Identity Verified
Qatar
Local time: 07:02
Arabic to English
+ ...
TermExtract?? Jun 9, 2014

I am using version 6.8.58

I cannot find this "TermExtract.xml" file

I deleted translationmemory.xml file. However, the problem is not solved yet.

Any help?

TIA


 

Catarina Ramos  Identity Verified
Portugal
Local time: 05:02
Member (2016)
English to Portuguese
+ ...
Thank you! Apr 15

Helios_Dang wrote:

Delete this file:

TermExtract.xml


This just saved my life! Thank you!


 

Philippe Etienne  Identity Verified
Spain
Local time: 06:02
Member
English to French
Anticlimax Apr 29

Earlier this morning, I put the computer in sleep mode, MQ 2013 R2 and project open, with many strings changed and unconfirmed (rereading stage). So my latest changes weren't in the TM.
At wake-up, blue screen of death (Windows 7).
I restarted and this error popped up when trying to open the project.
Searched same error on the internet. Found this thread.

Tried the "delete TermExtract.xml" solution. Didn't work.

It's Sunday. I shouldn't be working but due to poor time management, I still have this to deliver first thing Monday.

I checked what project files had been changed today:
project.mprx
HandoffData.bin
DocumentData.sdf
MonolingualReview.xml
many Opt-XXX files

I opened DocumentData.sdf in Notepad and found out that my most recent changes were in there. At worst I could clean up a bit the txt format (coding havoc) and copy paste each segment after recreating a project... Very time consuming. The prospect of spending Sunday on this was all but exciting.

So besides deleting TermExtract.xml, I boldy decided to delete all other xml files with the latest modification date (actually not deleted but moved to another place). Of all files last modified at 10:07, I kept only project.mprx, HandoffData.bin and DocumentData.sdf.

Bingo.
I closed MQ, reopened it, clicked the project and got back to where I was at 10:07.

Moral of the story:
Update your TM (confirm and update rows) whenever you leave your computer. Or better still, close the project and backup project in the project list window.

Philippe


 

Vanessa Correa  Identity Verified
Portugal
Local time: 05:02
English to Portuguese
+ ...
I have the same problem, ......Read78 Jun 15

A project was open on memoQ and energy went down.
When I reopened memoQ, all projects were missing. I was able to reopen all but one -- the one that was open when the energy went down.
The error is copied below --- I already deleted several xml files and nothing worked --- anyone has any ideas?
Thank you,
Vanessa


****memoq2015****
General error.

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 MemoQ.Project.ProjectDocument.LoadProjectInfo(String filePath)
------------------ 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.XmlSerializationReaderProjectInfo.Read78_ProjectInfo()


 

Gusztáv Jánvári  Identity Verified
Hungary
Local time: 06:02
English to Hungarian
+ ...
Backups? Jun 26

Vanessa Correa wrote:

A project was open on memoQ and energy went down.
When I reopened memoQ, all projects were missing. I was able to reopen all but one -- the one that was open when the energy went down.
The error is copied below --- I already deleted several xml files and nothing worked --- anyone has any ideas?
Thank you,
Vanessa


Well, if power supply were lost at the wrong moment, it may happen that your file could not be written properly, and it really get corrupted. I hope you have a backup (created either using a backup tool, or Windows's built in File History), otherwise you might not be able to get your file back. Still, you can contact memoQ Support to give a chance to your file to get fixed.

[Edited at 2018-06-26 09:58 GMT]


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Cannot open a project

Advanced search






Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search