Cannot open a project
Thread poster: Helios_Dang

Helios_Dang  Identity Verified
Vietnam
Local time: 13:16
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()


Direct link Reply with quote
 

esperantisto  Identity Verified
Local time: 09:16
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.

Direct link Reply with quote
 

István Lengyel
Hungary
Local time: 08:16
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


Direct link Reply with quote
 

Helios_Dang  Identity Verified
Vietnam
Local time: 13:16
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 support

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


Direct link Reply with quote
 

Jenny Duthie  Identity Verified
France
Local time: 08:16
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()


Direct link Reply with quote
 

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

Delete this file:

TermExtract.xml


Direct link Reply with quote
 

Saleh Dardeer  Identity Verified
Qatar
Local time: 09:16
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


Direct link Reply with quote
 

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

Helios_Dang wrote:

Delete this file:

TermExtract.xml


This just saved my life! Thank you!


Direct link Reply with quote
 


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






WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »
memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »



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