Knowledgebase: Product > memoQ
General error: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize
Posted by P├ęter Botta on 08 March 2013 09:18 PM

Title: General error: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize

Description: When you are opening the memoQ translation grid or when you are starting the tool, you get the following error message complaining about the SplitterDistance.

TYPE:
System.InvalidOperationException

MESSAGE:
SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.

SOURCE:
System.Windows.Forms

CALL STACK:
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at MemoQ.Translation.TranslationResultsControl.adjustLayout()
   at MemoQ.Translation.TranslationControl.createdOnTabPage(Object sender, EventArgs e)
   at MemoQ.ApplicationFramework.DocumentControl.FireCreatedOnTabPage()
   at MemoQ.ApplicationFramework.WindowManager.OpenTab(Document document, Boolean activate)
   at MemoQ.Project.ProjectDocument.ShowTranslationDocument(ProjectTranslationDocumentInfo tdi, Boolean activate, Boolean refreshResources)
   at MemoQ.Project.ProjectDocument.RestoreOpenedDocuments()
   at MemoQ.Application.MemoQApp.openProject(String path)
   at MemoQ.Application.MemoQApp.openProjectWithResult(String projectFileName)
   at MemoQ.Project.ManageProjects.ManageProjectsControl.handleOpenManage()
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.WndProc(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)

Fix: 

To fix this error, delete these files: DockLayoutConfigs.bin and Preferences-layout.xml from this folder: c:\Users\[username]\AppData\Roaming\MemoQ\ (Windows Vista, 7 and 8) or C:\Documents and Settings\[username]\Application Data\MemoQ (Windows XP)

Then change the memoQ interface by pressing F11 button twice. 


(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako support.memoq.com/index.php?