Error -2147024891 During Deployment of Shared Variable

Updated May 8, 2024

Reported In

Software

  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

When deploying a library that includes network-published shared variables, I'm getting the following error:

Deployment failed (error: -2147024891, LabVIEW: (Hex 0x80070005) Access denied. This error can occur if you attempt to write a single writer shared variable that is already connected to a subscriber with write access. Ensure that you connect only one target with write access to this shared variable at a time.).
Deployment completed with errors.


Solution

Try the following recommendations to attempt to resolve the error -2147024891:
  • Check the variable is configured as Single Writer: this error can occur if you attempt to write a single writer shared variable that is already connected to a subscriber with write access. Ensure that you connect only one target with write access to this shared Variable at a time.

image.png