Configure Web Application Server Disabled in LabVIEW Options

Updated Aug 22, 2023

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Other



 

Issue Details

In LabVIEW, under Tools >> Options >> Web Server, I am not able to click on the Configure Web Application Server button as it is disabled.



In Windows Services, I have tried manually start the NI System Web Server service but Windows prompted an error saying the service is started and then stopped.



I have logged the System Web Server error into a file and the error describes bad or missing port 0 in Listen directive.


 

Solution

Follow the steps below to manually correct the Listening Port from the value 0 to the default value 3582 by editing the NI System Web Server configuration .ini file.
  1. Go to Start >> Control Panel >> Folder Options >> Views >> Files and Folders >> Hidden files and folders, tick on Show hidden files, folders and drives option
  2. Go to the location C:\ProgramData\National Instruments\Shared\NI WebServer
  3. Copy NISystemWebServer .ini file to a temporary location, e.g. Desktop
  4. Open the configuration file using Notepad
  5. Under the [Default] section, edit the Port key value to "3582"
  6. Save the configuration file
  7. Replace the original configuration with the edited Port key value configuration file
  8. Launch Windows Services
  9. Manually start/restart NI System Web Server and NI Application Web Server