Error 1046 Server Script with Math Script RT Node in LabVIEW Code

Updated Oct 25, 2019

Reported In


  • LabVIEW 2015 Full
  • LabVIEW 2015 MathScript Real-Time Module

Operating System

  • Windows

Issue Details

When I try to run the VI with Math Script Node, LabVIEW displays below error:

Error 1046 occurred at an undified location

Possible reasons(s):

LabVIEW: LabVIEW cannot initialize the script server. Ensure the server software is installed in concerned VI.


Following the instructions of the error source, when I tried to reinstall LabVIEW Math Script 2015 (as per  my LabVIEW 2015 version), installation failed with the message: no software will be installed or removed

What can be the cause of Math Script Node failure in my LabVIEW VI?


Licensing/Installation Error

The error above may come from an improper install of the MathScript RT Module or by not having the software activated.

  • Check that the Mathscript RT Module is activated in NI License Manager.
  • Force Re-install the Mathscript RT Module.


Use of MATLAB script without MATLAB

Another reason for this error is if the LabVIEW VI calls the MATLAB script node without having MATLAB 6.5 or later being installed or properly activated on the computer.
This is because the MATLAB script nodes invoke the MATLAB software script server to execute scripts written in the MATLAB syntax.