Salesforce

Error - "Access to the path 'C:\Documents and Settings' is denied" occurs when trying to open a project package in Trados Studio

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentTrados Studio 2022
Symptoms/Context
<?xml version="1.0"?>
<SDLErrorDetails time="2018-07-09 13:40:51">
<ErrorMessage>Access to the path 'C:\Documents and Settings' 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.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.ShowDialog(IWin32Window owner)
   at Sdl.TranslationStudio.Packaging.PackagingService.ShowModalOpenPackageWizard(IWin32Window owner, String packageFilePath, IWizard`1& wizard)
   at Sdl.TranslationStudio.Packaging.PackagingService.ShowModalOpenPackageWizard(IWin32Window owner, IWizard`1& wizard)

 
Resolution
The solution is to reset Studio to the default settings, running the Trados Freshstart app available on the AppStore for download:

1. Close Trados Studio, MultiTerm and all open Windows Explorer windows (important!)
2. Go to https://appstore.rws.com/, search for Trados Freshstart and download the app (https://appstore.rws.com/Plugin/107)
3. Unpack the .zip file and install "Sdl.Community.SdlFreshstart.Installer.msi"
4. Open the application installed, select Studio from the top and then Studio 2022, and click on the "Remove" button from the bottom right side:

User-added image

5. Open Studio and try again to open a project package. Now everything should work as expected.

 
Root Cause
Studio tries to access the "C:\ Documents and Settings" folder, but that folder is not located on the C:\ drive root.
Reference
The "Trados Freshstart" app is also available in the Attachments tab of this article.
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by