What Causes the Error 'A sharing violation occurred while accessing an unnamed file' When Running a SOLIDWORKS Simulation?

When running a SOLIDWORKS Simulation study, the error message "A sharing violation occurred while accessing an unnamed file" might appear.

Sharing violation error message.png

The three most common causes for this error are the following:

  • A known bug BR10000366012, when using SOLIDWORKS 2023 SP4 to 2024 SP1
  • Security software preventing the necessary SOLIDWORKS executables from running
  • Insufficient privileges at the results file location

For more details about these causes, please see the corresponding section below.


When using a version of SOLIDWORKS between 2023 SP4 to 2024 SP1, the known bug BR10000366012 is a common cause of the issue.  This bug is resolved in 2024 SP2.

While a study is currently running and before the solver window is closed, the following workflows are the most common reasons for the message to be triggered:

  • Opening another part or assembly document
  • Switching to another previously opened document
  • Saving the document containing the study, either manually or automatically due to Auto-recover settings (Tools->Options->Backup/Recover)

If this bug is the cause of the error message, the actual results are not impacted, and the message can be dismissed.  In the case that this window appears multiple times, the "Esc" key can be held down on the keyboard to quickly clear them all.

Security Software

In order to mesh and run a Simulation study, SOLIDWORKS uses a variety of processes.  Security software can sometimes block these processes, triggering the error.  To test if this is the cause, temporarily disable any security software and see if the error appears when meshing and running the study again.

If the security software appears to be the cause of this error, exceptions in the security software will need to be added for the executables below to run unimpeded.  These executables are located in "C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\Simulation".

  • ghs3d.exe: Meshing uses this program for the volume filling process.
  • star.exe: For static and drop test analysis.
  • dstar.exe: For frequency and buckling analysis.
  • hstar.exe: For thermal analysis.
  • solidworks.exe: For the SOLIDWORKS application.
  • nstar.exe: For nonlinear analysis.
  • astar.exe: For dynamic analysis.
  • cwanalysisproc.exe: SOLIDWORKS Simulation uses this program to solve multiple studies. Every solution leads to one or more instances of this process, which persists until the solution ends. This program runs even after closing the SOLIDWORKS session to ensure the completion of the solution.

Folder Permissions

Insufficient permissions to the results folder location can prevent SOLIDWORKS from reading and writing the results.

To test if this is the cause, change the results folder location to a local drive with full permissions, then mesh and run the study again.

For further technical support, please contact Hawk Ridge Systems at 877.266.4469 for the U.S. or 866.587.6803 for Canada and support@hawkridgesys.com.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.