"You cannot check in the selected files because an error occurred while synchronizing the project": How can I solve this issue?

We originally got this issue from the translator when she was trying to check the translated file in.

Then this problem extended to all the files in that project when we tried to check-in the files after Finalisation.

It also happened with a single file in a big project a few weeks ago.

In neither cases we we able to syncronize again and the project is now stucked.

I am adding the xml error.

Can anyone give a hint?

Thanks a lot,

Alessia

<SDLErrorDetails time="15/07/2022 11:28:54">
  <ErrorMessage>You cannot check in the selected files because an error occurred while synchronizing the project.</ErrorMessage>
  <Exception>
    <Type>System.Xml.Schema.XmlSchemaValidationException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <SourceUri />
    <LineNumber>1</LineNumber>
    <LinePosition>15512261</LinePosition>
    <HelpLink />
    <Source>System.Windows.Forms</Source>
    <HResult>-2146231999</HResult>
    <StackTrace><![CDATA[   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at Sdl.Desktop.Platform.Implementation.StudioWindow.Invoke(Delegate method, Object[] args)
   at Sdl.Desktop.Platform.Implementation.Studio.Invoke(Delegate method)
   at Sdl.TranslationStudio.ProjectManagement.InteractiveBackgroundProjectUpdater.PerformProjectUpdate(IProject project, Action updateAction)
   at Sdl.ProjectApi.Implementation.Server.ProjectSyncOperation.ApplyProjectManifest(Stream packageManifestStream)
   at Sdl.ProjectApi.Implementation.Server.ProjectSyncOperation.ApplySynchronizationData(Stream packageStream)
   at Sdl.ProjectApi.Implementation.Server.ProjectSyncOperation.Execute()
   at Sdl.ProjectApi.Implementation.Server.Operations.SynchronizeServerProjectDataOperation.Execute(IProject project, String operationId, Object[] args)
   at Sdl.ProjectApi.Implementation.Operations.ProjectOperationComposite.Execute(IProject project, String operationId, Object[] args)
   at Sdl.ProjectApi.Implementation.Operations.BasicOperationComposite.Execute(IProject project, String operationId, Object[] args)
   at Sdl.ProjectApi.Implementation.Operations.ProjectOperationComposite.Execute(IProject project, String operationId, Object[] args)
   at Sdl.ProjectApi.Implementation.Project.ExecuteOperation(String operationId, Object[] args)
   at Sdl.TranslationStudio.ProjectServerPlugin.Actions.CheckInAction.<>c__DisplayClass1_0.<SynchronizeAndCheck>b__0(IJobExecutionContext c)
   at Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
   at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1040</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>PC-ALESSIA-10\User</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>PC-ALESSIA-10</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16649428 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

emoji
Parents
  •   

    Project settings corrupt on server. Therefore, the stored procedure [proj].[GetProjectPackageManifestParts] returns XML with more than one CascadeItem elements in CascadeItemXml.
     
    Possible reasons for the corruption are currently unknown. However there are a number of things to try but does require appropriate GS rights
    1. Change TM settings in project
    2. Perform word count or analyze batch task on the affected file(s)
    3. Add the corrupted file(s) again to the project after renaming them
    4  Circumvent synchronization

    Warning: This workaround interferes with synchronization.
    1. Close Studio
    2. Open the .sdlproj of the problematic project in a text editor
    3. Find the element Setting Id="LastSynchronizationTimestamp"
    4. Set the number in the element to a high value, e.g. xxxxxxxxxxxxxxxxxx, which corresponds to a time in year 2020: <Setting Id="LastSynchronizationTimestamp">xxxxxxxxxxxxxxxxxx</Setting>
    5. Save your changes
    6. Open the project in Studio. You should now be able to check in the file or at least apply above workaround

    Note: The project will now never receive updates from the server any more. To revert this, you can set the LastSynchronizationTimestamp-Element to a lower number again (e.g. xxxxxxxxxxxxxxxxxx).
    There is another workaround that require access to the server but I am hopeful any of the 4 may either resolve the issue or help isolate why its happening
    Hope this helps 
    Lyds

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Hi Lydia,

    Thanks a lot for your reply.

    I will try these workarounds and let you know ASAP.

    Regards,

    Alessia

    emoji
Reply Children
No Data