Solution
There is a 10 second default timeout in LabVIEW installers when publishing a web service. To address this, you can reduce the size of the web service or:
For LabVIEW 2023 Q3 or later
You can create a INI file named NILVWSPostInstallerScript.ini to change the default 10 second timeout. The file content should have the form:
[NILVWSPostInstallerScript]
RegisterStandaloneWSTimeout=30000
where "30000" is the new timeout in milliseconds, which you can edit as needed. The file needs to be placed in the corresponding directory according to the LabVIEW runtime version:
C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\20XX\LVWS for 64-bit LabVIEW or
C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\20XX\LVWS for 32-bit.
If the runtime engine is already installed, you can add the NILVWSPostInstallerScript.ini file by creating a text file and changing the file extension. If you want to deploy the file along with your application you can add it to your installer deployment in the corresponding path, make sure to adjust the path if you upgrade your LabVIEW version later as the path is specific for each runtime version.
For LabVIEW 2023 Q1 or earlier
Contact
NI Technical Support to get a new version of NILVWSPostInstallerScript.exe that will allow a longer timeout.