Access Violation 0xC0000005 Crash When Starting LabVIEW

Updated May 7, 2021

Reported In


  • LabVIEW

Operating System

  • Windows

Issue Details

  • When trying to start LabVIEW, it crashes and throws Error 0xC0000005 (Access Violation).
  • When I open my application developed on my previous operating system on my upgraded operating system, LabVIEW crashes with Error 0xC0000005 (Access Violation).
  • 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 Error 0xC0000005 (Access Violation).
  • When I open a specific project, LabVIEW crashes with Error 0xC0000005 (Access Violation).
  • When I run a specific VI, LabVIEW crashes and shows me the following error: 


Try the following troubleshooting steps to resolve the crash: 
  • If you have a volume license or are getting access to LabVIEW via a server on your company's network, verify your computer's communication with your network
    • Make sure your network cabling is functional
    • Make sure the NIC (Network Interface Controller) for your computer is connected
    • Make sure there are no network ports blocked by a switch/router
  • Run LabVIEW as an administrator. To do this, right-click on the program in Windows Explorer and select Run as Administrator.
  • Make sure you've installed the latest patch for your LabVIEW version. Patches will often address the most common causes of LabVIEW crashes.
  • If the crash occurs when opening a specific project, try creating a new project and move all the VIs and required files to it. Then, save the project and use it instead of the project with problems.
  • 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 reports are analyzed by National Instruments to make improvements to our products.