Access Error: 401 -- Unauthorized Using Remote Front Panels in LabVIEW

Updated Nov 21, 2023

Reported In

Hardware

  • Industrial Controller
  • PXI Controller
  • CompactDAQ Controller
  • CompactRIO Controller

Operating System

  • Windows
  • LabVIEW Real-Time (NI Linux Real-Time)
  • Linux

Programming Language

  • LabVIEW G

Issue Details

I am using Remote Fronts Panels to communicate with my application from a Web browser. When trying to access my application from Internet Explorer, I am getting the following error:

error.png

How can I fix this?

Solution

Access Error: 401 -- Unauthorized error is caused by a lack of valid authentication credentials for the target resource. To fix this issue make sure that your client PC is included in the browser's list configured in the host Web Server. You can use the Browser Access section on the Web Server page to configure which browser addresses can view your VI front panels. By using * in the Browser access list you are allowing access to all browser addresses.

Untitled picture.png

 

Additional Information

The Web Server page can be accessed from Tools»Options if working with a regular PC or by right-clicking the target and selecting Properties when working with NI Real-Time controllers (cRIO, PXI, sbRIO, Industrial Controller, etc).