LabVIEW Web Service Not Started in Deployed Application

Updated Aug 17, 2020

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I developed a Web Service in my LabVIEW project, which I want to deploy, per: Publishing a Web Service (Real-Time, Windows).
I configured the executable/installer according to the LabVIEW help: Including a Web Service in a Stand-Alone Application or Installer (Real-Time, Windows)
When I run the LabVIEW executable or install my LabVIEW distribution (which should start the Web Service too), I notice that the Web Service is not started.
I see the following two errors:
 

The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
 
Error -67400 occurred at Installer.lvclass:install. vi
Possible Reasons:
LabVIEW: (Hex 0xFFFEF8B8) LabVIEW Web Services: Failed to start the Application Web Server.

Solution

There are many root causes that could affect your Web Service not starting from your application. Try the following steps to address some possible root causes:
  • Ensure that your Web Server Application is configured correctly under Tools >> Options >> Web Server.
  • (If using an installer) Make sure you are including the NI System Web Server in your application Installer under Additional Installers.

  • Make sure there is no firewall or anti-virus software blocking the executable.
  • Make sure you are using the administrator account of the computer, and that the installer/executable is running with administrator privileges
    • To run an application as an administrator, right click on the .exe file and select Run as Administrator.
  • Try force reinstalling the LabVIEW Runtime Engine (RTE) using a clean download of the Runtime software from ni.com/downloads.