Salesforce

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

« Go Back
Information
Solution Article
SDL Trados Studio 2017 SR1
<?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)

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

1. Close SDL Trados Studio, MultiTerm and all open Windows Explorer windows (important!)
2. Go to https://appstore.sdl.com, search for SDL Freshstart and download the app (https://appstore.sdl.com/language/app/sdl-freshstart)
3. Unpack the .zip file and install "Sdl.Community.StudioCleanupTool.Installer.msi"
4. Open the application installed, select Studio from the top, select version Studio 2017  and click on "Remove folders" 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.

 
Studio tries to access the "C:\ Documents and Settings" folder, but that folder is not located on the C:\ drive root.
The "SDL Freshstart" app is also available in the Attachments tab of this article.
Attachments
 
 
 
 

Powered by