General error: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize
Reference Number: AA-00429 Created: 08-03-2013 21:18 Last Updated: 15-03-2013 19:29 100 Rating/ 1 Voters

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. 


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!