Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

acces to path ‘session_files’ is denied error

    • eramier1
      Subscriber

      Hello, when I try to open workbench files the error "The project __ may be corrupted and recovery files are available..." (see attached photo #1) comes up. If I press no the "acces to path 'session_files' is denied" (see attached photo #2) error comes up. This error would also come up anytime I would try to save a project. If I press yes it says it failed and another error comes up (attached photo #3). I tried running workbench as administrator and was still unable to open files. Essentially I cannot open a projects I've worked on, I can only start a new one. Please help with this error. 

      The details for the "acces to path 'session_files' is denied" are as follows

      System.IO.IOException: Access to the path 'session_files' is denied.
         at Ansys.Utilities.FuncRetries.Invoke[T1,T2,T3,T4,TResult](Func5 func, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Int32 numberOfRetries)
         at Ansys.Utilities.FuncRetries.Invoke[T1,T2,T3,T4](Action
      4 action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Int32 numberOfRetries)
         at Ansys.Utilities.FuncRetries.Invoke[T1,T2,T3](Action3 action, T1 arg1, T2 arg2, T3 arg3, Int32 numberOfRetries)
         at Ansys.Utilities.FuncRetries.Invoke[T1,T2](Action
      2 action, T1 arg1, T2 arg2, Int32 numberOfRetries)
         at Ansys.Utilities.FuncRetries.Invoke[T1](Action1 action, T1 arg1, Int32 numberOfRetries)
         at Ansys.Utilities.FuncRetries.Invoke(Action action, Int32 numberOfRetries)
         at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(DirectoryInfo directory, List
      1& failedFiles)
         at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(DirectoryInfo directory, List`1& failedFiles)
         at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(String directoryPath)
         at Ansys.Core.Persistence.Commands.OpenCommand.Execute(IFullContext context)
         at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
         at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
      --- Ansys.Core.Commands.CommandFailedException: Access to the path 'session_files' is denied.
      CommandName: Open(FilePath="C:/test/Lab 1 v2/Lab 1 v2.wbpj")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.Core.Persistence.Commands.OpenCommand.InvokeAndWait(IProtectedContext context, IProgressMonitor progressMonitor, String FilePath)
         at Ansys.UI.Standard.ProjectOperationUtility.ProjectOpen(String filePath, Boolean relaunch)
         at Ansys.UI.Standard.AbstractOpenProjectOperation.Invoke(IUserInteractor context)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)

    • Rajeshwari Jadhav
      Ansys Employee

      Hi,

      Save your project under different local drive instead of C and try again.

      Rename Ansys folder to Ansys.old (%appdata%) and .ansys to .ansys.old (%temp%)

Viewing 1 reply thread
  • You must be logged in to reply to this topic.