Access Violation 0xC0000005 Crash When Starting LabVIEW

Updated Feb 17, 2021

Reported In


  • LabVIEW

Operating System

  • Windows

Issue Details

  • When trying to start LabVIEW, it crashes and gives an access violation 0xC0000005 error.
  • When I open my application developed on my previous operating system on my upgraded operating system, LabVIEW crashes with a error code=0xC0000005 Access Violation message.
  • When I launched LabVIEW for the first time, an activation window popped up. I enter the serial number and then hit the activate button. After a couple of seconds, I receive an access violation 0xC0000005 error.
  • When I run a specific VI, LabVIEW crashes and shows me the following error: 


Try the following troubleshooting steps to resolve the crash: 
  • Verify the communication with the device
    • Make sure the wiring is fine
    • Make sure the NIC is connected
    • Make sure there are no blocked ports by a switch/router
  • Run LabVIEW as the administrator. To do this, right-click on the program in Windows Explorer and select Run as Administrator.
  • Make sure you have installed the latest patch for your LabVIEW version. Patches will often address the most common causes of LabVIEW crashes.
  • Force reinstall LabVIEW
    • After the force re-installation is complete, run the program again as an administrator
  • Uninstall LabVIEW, re-download the installation media, then reinstall LabVIEW from the new installation media files. 
  • Uninstall All NI software from the NI Package Manager, then uninstall the NI Package manager, manually delete the following folders and Install LabVIEW:
    • C:\Users\<Username>\Documents\LabVIEW Data
    • C:\Program Files\National Instruments
    • C:\Program Files (x86)\National Instruments
    • C:\Users\<Username>\AppData\Local\National Instruments
  • If you upgraded your operating system, confirm all NI software installed is still compatible: 
  • If any software is not compatible, complete the following: 
  1. Remove any NI hardware that is installed on the computer
  2. Uninstall the version of the incompatible software on the computer
  3. Install the compatible version 
  4. Restart the computer

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 National Instruments. You can do this by clicking Send in the LabVIEW Crash Reporter dialog box. These crash report are analyzed by National Instruments to make improvements to our products.