NI Software Hangs Due to Nizeroconfservice Cannot Be Found Error

Updated Aug 3, 2023

Reported In

Software

  • Vision Builder for Automated Inspection
  • LabVIEW NXG
  • LabVIEW

Issue Details

  • When I open Vision Builder for Automated Inspection (VBAI), it takes 3 to 4 minutes for the welcome page to show up. I checked the Event Viewer Application logs and see the following error: 
  • After installing LabVIEW NXG, the PC began to hang upon rebooting.  I checked the Event Viewer Application logs and see the following error:
  • My LabVIEW application hangs randomly during its execution, I see the following error in the Event Viewer Application logs:
The description for Event ID 100 from source niZeroconfService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. 
If the event originated on another computer, the display information had to be saved with the event. 
The following information was included with the event: 
Service Started
The specified resource type cannot be found in the image file 
image.png

Solution

This error can happen due to multiple causes mostly related to the NI Network Discovery and NI mDNS Responder Services, the potential causes and the recommended troubleshooting steps are detailed below:
  • NI Services required by NI software may not be running, to verify this:
  1. Go to Start»Control Panel»Administrative Tools»Services.
  2. Check that the following services are running: 
    • NI Network Discovery
    • NI mDNS Responder Service
  3. If these services are stopped, right-click on the service and click Start.
  4. If these services are running, right-click on the service and click Stop and then restart the services.
  5. Launch the NI software that was causing the issue again to see if the hang is resolved.
Note: Admin privileges are required to stop and start these services.
​​​​​​​Note: To repair the installation, you will need the installation media. You can use the original USB or DVD installer you received when you purchased the software or you can download the installer from www.ni.com/downloads.
  •  If you are using and AMD CPU, this issue is already known on other of our products that won't load, it can be solved on Ryzen CPU by setting this environment variable :
MKL_DEBUG_CPU_TYPE = 4