Access Denied Error When Deploying to cRIO

Updated May 3, 2018

Reported In

Hardware

  • cRIO-9074

Software

  • LabVIEW Real-Time Module

Operating System

  • Windows

Issue Details

When I try to deploy a VI to my Real-Time target, I get the following error:

"Access Denied: The target is locked for a deployment operation by another process such as a VI or NI Distributed System Manager. Ensure that all other deployments are complete before attempting to deploy. If you continue to encounter this conflict, refer to the "Deploying and Running VIs on an RT Target" topic in the LabVIEW Help for information about resolving target deployment conflicts."

I have looked over the "Deploying and Running VIs on an RT Target" topic in the LabVIEW Help and none of those suggestions worked. What do I do?

Solution

This issue can occur due to how you are deploying various items in your LabVIEW project to your real-time target. If you are using network-published shared variables, take care to ensure that you are first deploying the variables and all VI's to your target before you try to run any code on your host. If you have a host VI that reads said variables, some parts of your code on your real-time target may deploy and then cause the "Access Denied" error to occur when attempting to run VI's on your target afterwards.

Additional Information

Attempt to run LabVIEW as administrator to mitigate any possible permissions issues.  

WAS THIS ARTICLE HELPFUL?

Not Helpful