TAGGED: #fluent-#ansys, #mechanical-#workbench
-
-
November 9, 2024 at 3:20 am
marielevin2021
SubscriberThis error occurred in Discovery while attempting to save the project in Workbench. This project only includes one Fluid Flow Fluent block for which the geometry is linked to the Discovery file that seems to be causing the error. The original imported geometry came from a parasolid which was then modified in Discovery and resaved as a .dsco file. This issue persisted when my file was saved onto my local C: drive, as well as on a OneDrive cloud folder synced directly into File Explorer.Â
The pop-up in Discovery said the following: "AÂ serious error has occurred and unpredictable application behavior is like"Â Â
Below I have pasted the error log and a picture of the error message:Â
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)
4 action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Int32 numberOfRetries)
at Ansys.Utilities.FuncRetries.Invoke[T1,T2,T3,T4](Action
  at Ansys.Utilities.FuncRetries.Invoke[T1,T2,T3](Action3 action, T1 arg1, T2 arg2, T3 arg3, Int32 numberOfRetries)
2 action, T1 arg1, T2 arg2, Int32 numberOfRetries)
at Ansys.Utilities.FuncRetries.Invoke[T1,T2](Action
  at Ansys.Utilities.FuncRetries.Invoke[T1](Action1 action, T1 arg1, Int32 numberOfRetries)
1& failedFiles)
at Ansys.Utilities.FuncRetries.Invoke(Action action, Int32 numberOfRetries)
at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(DirectoryInfo directory, List
  at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(DirectoryInfo directory, List`1& failedFiles)
  at Ansys.Utilities.FileSystem.RemoveDirectoryRecursive(String directoryPath)
  at Ansys.Core.Persistence.ProjectSaveHandler.ProjectSave()
  at Ansys.Core.Persistence.Commands.SaveCommand.DoSave(IFullContext context, String filePath, Boolean overwrite, Boolean revertibleSave)
  at Ansys.Core.Persistence.Commands.SaveCommand.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: Save(Overwrite=True)
  at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
  at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.Core.Persistence.Commands.SaveCommand.InvokeAndWait(IProtectedContext context, IProgressMonitor progressMonitor, String FilePath, Boolean Overwrite)
  at Ansys.UI.Standard.ProjectOperationUtility.ProjectNormalSave(IUserInteractor context, String filePath, Boolean overwrite)
  at Ansys.UI.Standard.SaveProjectOperation.Invoke(GuiOperationContext context)
  at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
  at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly) -
November 15, 2024 at 12:39 am
Gary Stofan
Ansys EmployeeFor the error: System.IO.IOException: Access to the path 'session_files' is denied.
This error most commonly ocurs when a Workbench project is being worked on while on a OneDrive location.
OneDrive sets the read-only attribute on the session_files folder, thus Workbench can no longer manipulate the folder.Â
Copying a Project or archive to OneDrive for storage seems to work OK.But I think you have two different issues here.Â
In your case, it appears as if Discovery has crashed for some reason.Â
Q: Does Discovery work reliably on your computer with other geometry?ÂÂ
Â
Â
-
- You must be logged in to reply to this topic.
-
3084
-
992
-
907
-
858
-
792
© 2025 Copyright ANSYS, Inc. All rights reserved.