Error -2147312566 When Using LabVIEW or LabWindows™/CVI™ with ActiveX

Updated Oct 16, 2019

Reported In


  • LabWindows/CVI Full
  • LabVIEW
  • LabVIEW Database Connectivity Toolkit

Issue Details

I created an application in LabWindows™/CVI™ or in LabVIEW that communicates with Microsoft Excel or Microsoft Access via ActiveX Automation. However every time I launch a new Excel/Access application, I receive the error:

Error -2147312566 occurred at an unidentified location

This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input. 

Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147312566) or for its hexadecimal representation (0x80029C4A).



This ActiveX error is typically associated with registration of the software (i.e. Windows registry). You can try the following:

Additional Information

This may also be related to corrupted software. Follow Force Reinstall Non-Working or Corrupt NI Software to repair your NI Software if you suspect this is the case.