Access Violation 0xC0000005 Crash When Launching LabVIEW Executable

Updated Sep 11, 2020

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

  • When trying to run LabVIEW Executable, it crashes and gives an access violation 0xC0000005 error.
  • When I run my application in the development environment it works correctly, but if I create the executable and then I run it I recieve the following error: Exception: Access violation (0xC0000005) at EIP=0x5F02725B
How can I fix it?

Solution

Try the following troubleshooting steps to resolve this error:
  1. Create new LabVIEW Project
  2. Drag and drop all the .vi and files used in the project that you used for building the executable
  3. Save the project
  4. Repeat the saving process but this time select Save As and duplicate the project with all dependencies as shown in the figure below.
  1. Close the project and then open the last saved
  2. Create the executable

 
 

Additional Information

An access violation error may be, but is not always, caused by a lack of permissions.  This may happen when trying to start a program you don't have access to, or when a file tries to access a folder it doesn't have access to.  The problem may be due to a lack of administrator privileges.

Any time you see a LabVIEW crash, please submit the crash report to NI. You can do this by clicking Send in the LabVIEW Crash Reporter dialog box. These crash reports are analyzed by NI to make improvements to our products.