Creating a new project may fail when using memoQ over Citrix XenApp
Symptom
You get a "General error" message if you run memoQ as a Citrix XenApp application and you try to create a new project onto your local computer (where the project path starts with \\Client\). Additionally, you see details similar to the following when you click the More button:
TYPE:
System.Data.SqlServerCe.SqlCeException
MESSAGE:
The file resolves to a path that is too long. The maximum length is 260 characters. [ File name = \\Client\D$\MyMemoQProject\DocumentData.sdf ]
SOURCE:
SQL Server Compact ADO.NET Data Provider
CALL STACK:
at System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
at System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
at System.Data.SqlServerCe.SqlCeConnection.Open()
at MemoQ.Translation.Storage.SqlCeStorageService.connectToDatabase(String projectDirectory)
at MemoQ.Translation.Storage.SqlCeStorageService..ctor(String projectDirectory, Guid projectID, IProjectContext projectContext)
at MemoQ.Translation.Storage.SqlCeStorageService.CreateDatabase(String projectPath, Guid projectID, IProjectContext projectContext)
at MemoQ.Project.ProjectDocument.OnNewDocument(String name)
at MemoQ.ApplicationFramework.DocTypeManager.CreateDocument(Type documentType, String defaultName, IDocumentEnvironment documentEnvironment)
at MemoQ.ApplicationFramework.WindowManager.OnNewDocument(Type documentType, String defaultName)
at MemoQ.Application.MemoQApp.NewProjectWithResult()
at MemoQ.Application.MemoQApp.OnNewProject()
at MemoQ.ApplicationFramework.WindowManager.DispatchCommand(String id, Object param, Boolean forced)
at MemoQ.Project.DashboardFrequentTasksControl.btnCreateProject_Click(Object sender, EventArgs e)
at MemoQ.Controls.DashboardButton.onClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.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)
Cause
Microsoft SQL Server Compact Edition does not support all storage solutions, like specific RAM drives, subst'ed drives, or Citrix drive/path virtualization.
Workaround
To prevent this from happening you can try one of the following:
- Create the new memoQ project onto the Citrix XenApp server's local hard drive.
- Use another presentation virtualization solution, like Microsoft Remote Desktop.
Comments
0 comments
Please sign in to leave a comment.