ProZ.com global directory of translation services
 The translation workplace
Ideas

 
User
Thread poster: Karina Alves
Error - Message: Exception has been thrown by the target of an invocation

Karina Alves  Identity Verified
Brazil
Local time: 16:00
Member (2011)
English to Portuguese
+ ...
Dec 10, 2011

Hello,



I am trying to open MemoQ (5.0.55) right now and I am getting the message below. It doesn't allow me to open old or new projects and I really need to use the program to finish a job. Does anybody else is having the same problem? I don't know if it is something with the server, since the kilgray.com page is also having problems. I am just asking because I really need to finish something urgent here.
Thank you,
Karina




TYPE:
System.Reflection.TargetInvocationException

MESSAGE:
Exception has been thrown by the target of an invocation.

SOURCE:
mscorlib

CALL STACK:
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at MemoQ.ApplicationFramework.DocTypeManager.CreateControl(Type documentType)
at MemoQ.ApplicationFramework.WindowManager.OpenTab(Document document, Boolean activate, Object initData)
at MemoQ.ApplicationFramework.WindowManager.OnShowDocument(Document document, Object initData)
at MemoQ.ApplicationFramework.WindowManager.OnShowDocument(Document document)
at MemoQ.Application.MemoQApp.ShowDashboard()
at MemoQ.Application.MemoQApp.StartupOrArgs()
at MemoQ.MainWindow.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MemoQ.MainWindow.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------ Inner exception ------------------

TYPE:
System.TypeInitializationException

MESSAGE:
The type initializer for 'MemoQ.Project.ProjectRegisty' threw an exception.

SOURCE:
MemoQ.Project

CALL STACK:
at MemoQ.Project.ManageProjects.ManageProjectsControl.AddLocalItems()
at MemoQ.Project.ManageProjects.ManageProjectsControl.InitList()
at MemoQ.Project.ManageProjects.ManageProjectsControl.SetGridLook(DataGridViewSettings param)
at MemoQ.Project.DashboardControl..ctor()
------------------ Inner exception ------------------

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 MemoQ.Common.SerializationHelper.DeserializeXML(Type objType, String filePath)
at MemoQ.Project.ProjectRegisty.LoadList()
at MemoQ.Project.ProjectRegisty..cctor()
------------------ 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.ThrowWithoutLineInfo(String res)
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.XmlSerializationReaderList1.Read19_ArrayOfProjectAdminInfoBlock()


Direct link Reply with quote
 

Karina Alves  Identity Verified
Brazil
Local time: 16:00
Member (2011)
English to Portuguese
+ ...
TOPIC STARTER
Problem solved Dec 10, 2011

Kilgray's support helped me with the problem.
IN future, if somebody else has the same problem you can try:

Go to:
C:\users\username\appdata\roaming\memoQ, and delete your Projectregistry.dat file (under XP it's at C:\Documents and settings\username\Application data\memoQ).

Worked for me!


Direct link Reply with quote
 

Diego Mosca  Identity Verified
Germany
Local time: 21:00
Member (2009)
German to Italian
+ ...
Same error : general error Feb 13

For me it didn't work. I don't know how to solve the problem

Direct link Reply with quote
 

Epameinondas Soufleros  Identity Verified
Greece
Local time: 22:00
Member (2008)
English to Greek
+ ...
Shortcut to memoQ's AppData Feb 14

A quick way to get to memoQ's AppData folder is to press the Windows key (or the Start orbit) and type this in the search field:

%appdata%/memoq

Press Enter and there you are.

I mention this because AppData is hidden by default. With this method you can get to it easily even if it's hidden.

[Edited at 2012-02-14 00:15 GMT]


Direct link Reply with quote
 


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

Moderator(s) of this forum
Maya Gorgoshidze[Call to this topic]

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

Error - Message: Exception has been thrown by the target of an invocation






memoQ translator pro 5.0
Save 20% with memoQ today!

memoQ translator pro is the premium product for professionals. It is Kilgray's best-selling tool among freelance translators: you get all the functionality available in memoQ in your local environment plus the ability to work on remote servers.

More info »
Déjà Vu X2
Enjoy 20% off!

DVX2 Professional is the most popular version of Déjà Vu X2 and with good reason. Fast and flexible, Déjà Vu X2 Professional combines Atril’s Intelligent Quality technology with an array of powerful, customisable productivity and quality assurance

More info »