Error -2147138442 When Connecting or Deploying to an Industrial Controller or CompactRIO

Updated Dec 19, 2018

Reported In


  • IC-3173
  • CompactRIO Chassis


  • NI-RIO
  • NI-Industrial Communications for EtherCAT

Operating System

  • Windows

Issue Details

I try to connect or deploy to my Industrial Controller (IC) or CompactRIO (cRIO) and I get the following error:

-2147138442: The module cannot be found. If the physical module exists, and the device is in FPGA mode, recompiling and downloading may fix this problem.

When I right click on a module in my project, and try to run it in scan engine mode, I also get the error. 


There are a couple of troubleshooting steps we can take to try and resolve this:
  • If the device is running in FPGA mode, recompile and redeploy the code
  • Reset the device by pressing the 'Reset' button on the chassis
  • Power down the chassis, remove each module being used, and then place the modules back in
  • Create a new project from scratch and re-add the device (Right Click Project >> New >> Targets and Devices)
    • First, try the 'Existing target or device' option, along with the 'Discover an existing target...' and then the 'Specify a target or device by IP address' options
    • Next, try the 'New target or device' option, and manually associate the IP address after adding it to the project by Right Clicking the Device >> Properties
  • Format the device using the steps outlined in this KB and create a new project with it
If those steps don't resolve the issue, contact NI Support



Not Helpful