NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

webservice packages fail to install

I am working on webservices that run with the NI web server. I noticed that updating a webservice with NIPM mostly fails with some incomprehensible error. I can prevent the error only by (manually) disabling the NI webserver.

Is there a way that this error can be prevented without having to first manually disable the NI web server?

 

0 Kudos
Message 1 of 8
(3,869 Views)

Aartjan, I would expect that NI Web Server should be able to shutdown any services prior to installing, but that may not be working in youir case. More details are needed for others to give any guidance on debugging the issue.

  1. Can you give more information on what version of NIPM is installed on the system and what versions of NI Web Server you initially have and what version you are attempting to upgrade to?
  2. Installing NIPM 21.3 prior to reproducing the error may display more error information if the error occurs in a Windows MSI that a package runs. 
  3. Can you also share what error information that you are receiving?
  4. Lastly, most helpful would be any log files that NIPM and Windows can generate. Please follow the instructions in Generating and Locating NI Package Manager Error Logs for obtaining Package Manager and MSI logs, try to install again to reproduce the error, and then review new log files and post back to this forum thread in case anyone else can help.
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 8
(3,836 Views)

Version NIPM: 21.3.0

 

The error:

An error occurred while installing a package: ricardo-office (1.0.0-0)

Additional error information:
The executable returned error '-67033' after running the custom execute command 'path='"\\?\C:\WINDOWS\SysWOW64\cmd.exe"', options='/c ""%ni-paths-NISHAREDDIR%\LabVIEW Run-Time\2020\LVWS\NIWebServicePublisher.bat" /c "%ProgramData%\ricardo.lvws""''.

 

This error occurs during installation of the webservice package.

0 Kudos
Message 3 of 8
(3,807 Views)

aartjan, I am not familiar with LabVIEW Web Services, but I believe the error that you are seeing is "LabVIEW Web Services: A Web service already exists with the input name", see https://zone.ni.com/reference/en-XX/help/371361R-01/lverror/web_services_error_codes/

 

If you are upgrading something it appears that "input name" already exist so the custom execute is erroring and hence the package installation fails. If this error is expected, you will need to handle the error in your script call or you will need to update the package with the custom execute to ignore errors.

 

I am not sure how you are creating your package,

Scott Richardson
https://testeract.com
Message 4 of 8
(3,799 Views)

Great! That was already very helpful. I do have several other webservices running on that NI Web server. Now I am wondering what that "input name" is and if I can set a unique name. It was the first time I tried to install this particular webservice, so I cannot be the name of the webservice itself.

 

I forgot to mention that, this time, the issue is not resolved by disabling the NI web server. It won't install at all, even after a reboot.

Apparently the NI webserver is not the issue.

 

Feedback for NI: NIPM did not lead me to these error descriptions when it displayed the error. That would have been very helpful.

0 Kudos
Message 5 of 8
(3,789 Views)

Glad you're able to move a little bit forward; at this point I assume that there is not anything to investigate regarding NIPM. 

 

Regarding your feedback, unfortunately NIPM has no knowledge of error codes other than itself, so there is no way for it to redirect you to "third party" error codes help.

Scott Richardson
https://testeract.com
0 Kudos
Message 6 of 8
(3,778 Views)

I continued developing and now the package installs without issue. Not a clue what changed.

0 Kudos
Message 7 of 8
(3,767 Views)

Glad to hear that your package is now installing. Just a thought, if you are now ignoring the error from the custom execute, it might now be able to continue if and when the script fails.

Scott Richardson
https://testeract.com
0 Kudos
Message 8 of 8
(3,759 Views)