Access to the path AutoSave is denied.

Hi All,

I just installed Studio 2017 yesterday and everything went perfect. Suddenly today I received an error "Access to the path 'C\Users\Sunu\Documents\Studio 2017\AutoSave\.....sdlxliff' is denied. The error message suddenly popped-up and everytime I try to save my work.

Please help!

Regards,

Sunu

Parents Reply Children
  • <SDLErrorDetails time="01.03.2025 21:01:50">
    <ErrorMessage>Přístup k cestě C:\Users\lenovo\OneDrive\Dokumenty\Studio 2022\AutoSave\xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx byl odepřen.</ErrorMessage>
    <Exception>
    <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146232800</HResult>
    <StackTrace><![CDATA[ v System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
    v System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
    v Sdl.TranslationStudio.Editor.AutoSave.AutoSaveWorker.DeleteTemporaryFolder(String projectFolderPath)
    v Sdl.TranslationStudio.Editor.EditorService.DeleteTemporaryFilesAndFolders(String projectFolderPath, IEnumerable`1 translatableFileIds)
    v Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnSaved()
    v Sdl.TranslationStudio.Api.Editor.SaveJobRequest.AfterExecute(IJob job)
    v Sdl.Desktop.Platform.Implementation.Services.Job.FinalizeJob()
    v Sdl.Desktop.Platform.Implementation.Services.JobService.ExecuteJobWithProgress(IExecutableJob job)
    v Sdl.Desktop.Platform.Implementation.Services.JobService.ScheduleJob(IJobRequest jobRequest)
    v Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.Save(Boolean closeAfterSave, Boolean uploadFilesToLanguageCloud)
    v Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.Save(Boolean uploadFilesToLanguageCloud)
    v Sdl.TranslationStudio.Editor.Shared.Actions.SaveDocumentAction.Execute()
    v Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
    v Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
    v Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
    v Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
    v Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
    v Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
    v System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
    v System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    v System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
    v System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    v System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    v System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    v Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.2.11.19134</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1029</OperatingSystemLanguage>
    <CodePage>1250</CodePage>
    <LoggedOnUser>VALERIE\Jan</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>VALERIE</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8156804 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

  • It happened again, so I have attached the error details message to this thread. The system flagged it as spam. Why am I not surprised?

    emoji
  •  

    Why am I not surprised?

    I'm not surprised either.  If you post these things as text they often do get picked up as spam, which is why I asked you to attach the file, or you could have used the Insert- > Code option.  If we didn't have these features in place you have absolutely no idea how much spam we pick up which ensures that the forums are maintained well.

    I also asked you to put this into a new thread... but so far you seem to be quite good at ignoring advice and doing things without any thought other than to blame RWS for everything and in the process making people who are willing to help work harder just to be able to assist you.  Not too clever!

    I guess you do want help... but you certainly have a funny way of going about it!

    Paul Filkin | 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
  •  

    The difference, just fyi would be this:

    <SDLErrorDetails time="01.03.2025 21:01:50">
    <ErrorMessage>Přístup k cestě C:\Users\lenovo\OneDrive\Dokumenty\Studio 2022\AutoSave\xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx byl odepřen.</ErrorMessage>
    <Exception>
    <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146232800</HResult>
    <StackTrace><![CDATA[ v System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
    v System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
    v Sdl.TranslationStudio.Editor.AutoSave.AutoSaveWorker.DeleteTemporaryFolder(String projectFolderPath)
    v Sdl.TranslationStudio.Editor.EditorService.DeleteTemporaryFilesAndFolders(String projectFolderPath, IEnumerable`1 translatableFileIds)
    v Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnSaved()
    v Sdl.TranslationStudio.Api.Editor.SaveJobRequest.AfterExecute(IJob job)
    v Sdl.Desktop.Platform.Implementation.Services.Job.FinalizeJob()
    v Sdl.Desktop.Platform.Implementation.Services.JobService.ExecuteJobWithProgress(IExecutableJob job)
    v Sdl.Desktop.Platform.Implementation.Services.JobService.ScheduleJob(IJobRequest jobRequest)
    v Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.Save(Boolean closeAfterSave, Boolean uploadFilesToLanguageCloud)
    v Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.Save(Boolean uploadFilesToLanguageCloud)
    v Sdl.TranslationStudio.Editor.Shared.Actions.SaveDocumentAction.Execute()
    v Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
    v Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
    v Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
    v Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
    v Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
    v Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
    v System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
    v System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
    v System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
    v System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    v System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    v System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    v Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.2.11.19134</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1029</OperatingSystemLanguage>
    <CodePage>1250</CodePage>
    <LoggedOnUser>VALERIE\Jan</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>VALERIE</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8156804 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    The problem looks as though it's most likely to be caused by the use of the OneDrive folder, which Studio unfortunately tries to use for the AutoSave feature.  This issue is pretty well documented in these forums as it is something we need to address, and if you'd picked a more recent post instead of one from so long ago you might have found the solution.

    However, this KB is probably what you need to know: https://gateway.sdl.com/apex/communityknowledge?articleName=000017192

    I do have some sympathy with you though as I do wish we would remove the susceptibility of Trados Studio to these problems by not installing into the OneDrive folders in the first place.  It was actually not a problem for some time, even if you think it's the same problem as the one the user who created this post reported (which it isn't!), but Microsoft are a dynamic company and OneDrive doesn't behave in a consistent way year after year.  I have other applications on my personal laptop that I ensure I only use with folders outside the OneDrive paths because they also have problems otherwise.

    You also have some control over this yourself because you can manage the way OneDrive handles your folders.  If you don't make sure that the folders Studio uses are always available (they can be in the cloud too, but should always be locally available) then you'll probably have less problems.

    Paul Filkin | 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
  • Dear Paul,

    Thank you. 

    As per your complaints, I live with mental disability and it is hard for me to exist in relationships in which I depend on other people or organizations. My basic preconception of the world is that people don't care and will let me down. That provokes emotional responses to instances that empirically support that preconception - for example, I invested money into an app that should streamline my work but instead it constantly wastes my time. My emotional responses to these situations should be treated as a normal part of human experience, as a perfectly legitimate part of my customer experience, not as an obstacle to problem solving. Perhaps it's not the goal of this forum to let customers voice their experience with the product, but you tell me. As for your trouble addressing my complaints, could you please go out of your way because of my disability. While I try to not burden the world with my trauma, I cannot always throw in an extra 30 minutes of meditation just because Studio failed me again.

    I am not happy that the solution offered involves disabling cloud backup for my entire Documents folder. That creates a huge vulnerability in case I lose my computer and, ofc, prevents me from accessing my files on my phone. I would call this overkill. Could you please suggest a more subtle solution that doesn't have those side effects?

    emoji
  • Hello  

    Copy to  

    I am not happy that the solution offered involves disabling cloud backup for my entire Documents folder.

    I can understand that, but you might be more clever. You have this problem because (writing under Paul's control!) I believe that by default SDL project files are saved somewhere in C:\Users\my name\Documents [Dangerous if you must solve a serious OS problem]. I never faced your problem hereabove probably brcause for ages I have been proceeding differentlly

    In my D:\ drive, an enormous Translations folder gathers 467 (so farGrin) outsourcer folders, everyone with individual translation project sub-folders, and it is where I create the SDL project folder with its typical *.sdlproj file plus three sub-folders (Luckily this kind of path has never proved too long [in excess of 250 characters?]) And thus I avoid any conflict with OneDrive.

    You might think of something similar.

    emoji
  •  

    Exactly... ish...

     

    I am not happy that the solution offered involves disabling cloud backup for my entire Documents folder.

    That is your conclusion, it's not what I said.

    You also have some control over this yourself because you can manage the way OneDrive handles your folders.  If you don't make sure that the folders Studio uses are always available (they can be in the cloud too, but should always be locally available) then you'll probably have less problems.

    So, all you need to do is address the folders that Studio is using, not your entire documents folder.  I also didn't say disable the backup, I said they can be cloud only, or always available locally, or both.  So you just need to make sure that the folders in question are available offline and in the cloud (so you still have your backups).

    Or take the advice from Gérard.  I do that with my home laptop, although I don't use a mapped drive, or external drive for this.  I just put Studio related stuff here... and any other files that cause similar problems because of OneDrive:

    c:\Users\paul\Documents\Trados Studio Projects\

    As opposed to here:

    c:\Users\paul\OneDrive\Documents\Trados\

    And I run a back up into a 2-bay external drive for everything I need to ensure I can recover it.  Cloud or not... I don't trust it and want to be sure I always have access to all of my files locally.

    Paul Filkin | 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