Cannot open package in Trados Studio 2022: "Access to the path 'C:\Users\All Users\Datos de programa' is denied." error

Hello,

I tried to open a Trados package, but I received the following error: "Access to the path 'C:\Users\All Users\Datos de programa' is denied.". See full stack trace below:

<SDLErrorDetails time="25/03/2024 12:43:09">
  <ErrorMessage>Access to the path 'C:\Users\All Users\Datos de programa' is denied.</ErrorMessage>
  <Exception>
    <Type>System.UnauthorizedAccessException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2147024891</HResult>
    <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.AddSearchableDirsToStack(SearchData localSearchData)
   at System.IO.FileSystemEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at Sdl.Desktop.Platform.Implementation.SystemIO.DirectoryWrapper.GetAllFiles(String path)
   at Sdl.TranslationStudio.Packaging.PackageImport.ProjectFolderValidation.ValidateProjectFolder(String projectFolder, String longestFilePathInProject)
   at Sdl.TranslationStudio.Packaging.PackageImport.ProjectFolderControl.ValidateProjectFolder(String projectFolder)
   at Sdl.TranslationStudio.Packaging.PackageImport.ProjectFolderControl.set_ProjectFolder(String value)
   at Sdl.TranslationStudio.Packaging.PackageImport.OpenPackagePreviewWizardPage.OnShow(Boolean first, Boolean back)
   at Sdl.Desktop.Platform.Wizard.AbstractWizard`1.SetCurrentPageIndex(Int32 index, Boolean back)
   at Sdl.Desktop.Platform.Wizard.AbstractWizard`1.PrepareWizardForShow()
   at Sdl.Desktop.Platform.Wizard.AbstractWizard`1.ShowDialog(IWin32Window owner)
   at Sdl.TranslationStudio.Packaging.PackagingService.ShowModalOpenPackageWizard(IWin32Window owner, String packageFilePath, IWizard`1& wizard, PackagingWizardDetail packagingWizardDetail)
   at Sdl.TranslationStudio.Packaging.PackagingService.ShowModalOpenPackageWizard(IWin32Window owner, IWizard`1& wizard)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.2.10.19084</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>3082</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>DESKTOP-B7O1942\Manuel</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>DESKTOP-B7O1942</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8271480 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Before answering, please note the following:

- I already tried the solutions to similar issues proposed in https://gateway.sdl.com/apex/communityknowledge?articleName=000003066 and in https://gateway.sdl.com/CommunityKnowledge?articleName=00000259, but none of them worked.

- I tried restarting my computer after resetting Trados (just to try something), but problem is still unsolved.

- Last week, I could open Trados packages without any problem.

- I also have Trados Studio 2017 SR1 installed on my computer, and I do can open Trados packages with the older version of the application, so the problem is only with Trados 2022.

Any help would be most welcome!

Kind regards,

Manuel

emoji
  • Hello Manuel,

    I'm sorry to hear that you're having trouble opening a Trados package in Trados Studio 2022. It seems like you've already tried a few solutions, but they haven't worked. Let's try another approach:

    Step 1: Ensure that you have the necessary permissions to access the path 'C:\Users\All Users\Datos de programa'. You can do this by right-clicking on the folder, selecting 'Properties', then 'Security', and ensuring that your user account has full control.

    Step 2: If the issue persists, try running Trados Studio 2022 as an administrator. You can do this by right-clicking on the Trados Studio 2022 shortcut and selecting 'Run as administrator'.

    Step 3: If the problem still persists, you might want to consider reinstalling Trados Studio 2022. Before doing so, make sure to back up any important data such as Translation Memories and Term Bases.

    Please note that these steps are meant to address the specific error message you're seeing, which indicates a permissions issue with the specified path. If the problem persists after trying these steps, it may be due to a more complex issue that might require further investigation.

    I hope this helps! Let me know if you have any other questions.

    Best regards,

    RWS Community AI

    emoji
  • Hello,

    Regarding Step 1, it's funny, but I tried to access said "C:\Users\All Users\Datos de programa", but Windows tells me that said location is unavailable and access is denied. I am the only user of my computer so I guess I am also the administrator. How can it be that I do not have access to a folder in my computer?

    Any further idea would be most welcome.

    Kind regards,

    Manuel

    emoji
  • Hello Manuel,

    I understand your confusion. It's indeed strange that you're unable to access a folder on your own computer. This could be due to a variety of reasons, including system errors or security settings.

    Here's another approach we can try:

    Step 1: Open the Windows File Explorer and click on 'View'. Check the 'Hidden Items' checkbox. This will allow you to see all hidden files and folders.

    Step 2: Navigate to 'C:\Users\YourUsername\AppData\Roaming\SDL\SDL Trados Studio'. Replace 'YourUsername' with your actual username.

    Step 3: Rename the 'Studio17' folder to something else, like 'Studio17_old'. This will reset Trados Studio 2022 to its default settings the next time you open it.

    Step 4: Try opening Trados Studio 2022 and the package again.

    Please note that resetting Trados Studio to its default settings will remove any customizations you've made, so you may want to note down any specific settings you've changed.

    If the issue persists, it might be a more complex system issue that's beyond the scope of Trados Studio. In such a case, you might want to consult with a local IT specialist or the support team of your operating system.

    I hope this helps! Let me know if you have any other questions.

    Best regards,

    TradosAI

    emoji
  • Hello again,

    It is strange, but the thing is, I do have access to the Program Data (Datos de programa) folder in my computer (C:\ProgramData). If I go to the "C:\Users\All Users" folder in my computer, the files there are exactly the same than in the C:\ProgramData.

    Like I said before, I already tried resetting Trados to the default settings, to no avail, I could open Trados packages las week, and I can open the Trados package with Trados Studio 2017, so I understand the problem is indeed with Trados Studio 2022, not with my computer.

    Any other idea?

    Kind regards,

    Manuel

    emoji
  • Hello Manuel,

    I understand your frustration and I appreciate your patience. It's indeed puzzling that you're experiencing this issue with Trados Studio 2022, but not with Trados Studio 2017.

    Given the information you've provided, let's try a different approach:

    Step 1: Uninstall Trados Studio 2022 from your computer. You can do this by going to 'Control Panel' > 'Programs' > 'Programs and Features', then selecting Trados Studio 2022 and clicking 'Uninstall'.

    Step 2: After uninstalling, restart your computer.

    Step 3: Reinstall Trados Studio 2022. Make sure to install the latest version of the software. You can download it from the official RWS website.

    Step 4: After reinstalling, try opening the Trados package again.

    Please note that uninstalling and reinstalling the software will reset it to its default settings, so you may want to note down any specific settings you've changed.

    If the issue persists after these steps, it might be a more complex issue that's specific to Trados Studio 2022. In such a case, you might want to consider using Trados Studio 2017 for the time being, while the issue with Trados Studio 2022 is being investigated.

    I hope this helps! Let me know if you have any other questions.

    Best regards,

    TradosAI

    emoji
  • Unfortunately, uninstalling and reinstalling Trados Studio did not work. I still get the very same error when I try to open Trados packages Disappointed.

    emoji
  •  

    Try a reset.  To do this just close Trados Studio and then rename this folder:

    c:\Users\%username%\AppData\Roaming\Trados\Trados Studio\Studio17\

    to c:\Users\%username%\AppData\Roaming\Trados\Trados Studio\Studio17_old\

    If you can't find this folder then you need to unhide your hidden files/folders:

    www.howtogeek.com/.../

    Then restart Trados Studio and see if that helped.

    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
  • Hi  ,

    Thank you for your prompt answer! Unfortunately, like I said before, I already tried resetting Trados to default settings and actually uninstalled and reinstalled Trados. And it did not work Disappointed.

    Is there any other possibility?

    Kind regards,

    Manuel

    emoji
  •  

    Try a full reset.  

    Clean install... try the following.

    1. Uninstall Studio
    2. Uninstall MultiTerm

    Now manually delete these folders if they are still there (back up your TMs, Termbases, AutoSuggest Dictionaries and Projects first in case you make a mistake):

    c:\ProgramData\Package Cache\Trados\TradosStudio2022\
    c:\ProgramData\Package Cache\Trados\MultiTermDesktop2022\
    c:\Program Files (x86)\Trados\Trados Studio\Studio17\
    c:\Program Files (x86)\Trados\MultiTerm\MultiTerm17\
    c:\Users\%username%\AppData\Local\Trados\Trados Studio\17\
    c:\Users\%username%\AppData\Local\Trados\Trados Studio\Studio17\
    c:\Users\%username%\AppData\Local\Trados\MultiTerm\MultiTerm17\
    c:\Users\%username%\AppData\Local\Trados\Trados Studio\17\
    c:\Users\%username%\AppData\Roaming\Trados\Trados Studio\Studio17\
    c:\Users\%username%\AppData\Roaming\Trados\MultiTerm\MultiTerm17\
    c:\Users\%username%\Documents\Studio 2022\Project Templates\
    c:\Users\%username%\Documents\Studio 2022\Projects\projects.xml

    I think that's about it for a clean install. Then reinstall.  If that doesn't work we can log a case on your behalf.

    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
  • Hi again, ,

    Thank you again for checking back on this. It seems it worked! Now I can open Trados packages again! Slight smile I'll take good note of these steps should I have a similar problem in the future.

    Kind regards,

    Manuel

    emoji