TAGGED: #fluent-#ansys, #mechanical-#workbench
-
-
November 9, 2024 at 3:20 ammarielevin2021Subscriber
This 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 amGary StofanAnsys Employee
For 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.
- acces to path ‘session_files’ is denied error
- Error: Result file is incomplete or corrupt. It cannot be read.
- ANSYS 2024 R2 Student License Manager Error
- Error: An error occurred when post processor attempted to load a specific result
- 설치 과정에 문제가 있습니다.
- critical error during installation of 24 R2 version
- Ansys MAxwell student data e4xport
- No FlexNet Publisher (FNP) license found for feature HPC Parallel.
- unexpected license problem; exiting. hit return to exit.
- Correct procedure?
-
1181
-
488
-
487
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.