Error -67033 When Starting LabVIEW Web Service

Updated Nov 25, 2022

Reported In

Software

  • LabVIEW

Issue Details

  • When I start my LabVIEW Web Service, I see error -67033. What causes this?
  • When I publish my LabVIEW Web Service on the NI Web Server, LabVIEW complains that "a Web service already exists with the input name."
  • How can I resolve the error below when I publish my Web Service? I have already tried changing the name of the Web Service.
There was an error running the web service on the debug server: Error -67033 occurred at NI Web Service Debug.lvlib:Add Web Service.vi

Possible reason(s):
LabVIEW:(Hex 0xFFFEFA27) LabVIEW Web Services: A Web service already exists with the input name.


Image_2022-10-14_16-43-34.png
 

Solution

This error occurs when publishing a Web Service that already exists. Follow the steps below to resolve the error:

1. Ensure that only one Web Service with this name is published.
  • Change the name of the Web Service from the LabVIEW project and try re-publishing it.
  • If publishing to the Application Web Server:
    1. Navigate to http://localhost:3582/web-config/web-services in a browser.
    2. From here, unpublish any Web Services with the same name as the erroring Web Service. Select a Web Service and click Unpublish from the top, as shown below.
  • If publishing on the Debug Server:
    1. Right-click the Web Service and select Application Web Server >> Stop (Debug Server).
  • If publishing on the NI Web Server, move to the next step.
web configuration web service.PNG
2. Manually force the Web Service to stop.
  • From the Windows start menu, search for "Command Prompt". Right-click the application and select Run as administrator.
  • Set the current directory to  C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\20XX\LVWS where 20XX represents the version of LabVIEW Run-Time being used. The full command is:
cd "C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2020\LVWS"
 
  • Enter the command below to stop the Web Service. Note: <Web Service Name> represents the name of your Web Service.

NIWebServicePublisher.exe "<Web Service name>" /Embedded /uninstall


3. If the Web Service has been built into a LabVIEW executable, ensure that Windows has granted permissions to NIWebServicePublisher.exe.
  • When the executable is launched, a Windows pop-up should appear asking to grant permissions to NIWebServicePublisher.exe. If this does not appear, follow the steps below:
    1. Navigate to C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\20XX\LVWS  on the host PC, where 20XX represents the version of LabVIEW Run-Time being used.
    2. Right-click NIWebServicePublisher.exe and select Run as administrator.
    3. When the pop-up appears, select Show more details and then Change when these notifications appear. Configure the notifications to always appear.
    4. If the pop-up still does not appear, open User Account Control Settings in Windows. Change the option to Always notify.
    5. Re-launch the executable, and verify that the Windows pop-up appears. Grant permission to NIWebServicePublisher.exe.