LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2020 Web services - unable to access?

So, I upgraded a project from 2019 to labview 2020, due to a CAR/bug with using variant data in MAPS.  However, that project uses some web services to respond to file requests in my vue.js web interface.  The web services are working fine to still host the vue.js app, but my GET services are only giving me error, unable to access 404 errors?  Why can I access the public content but not the methods in the same webservice?

 

You can see in the attached picture, the URL is what the project provides, the public content is working, but not the methods?  I've tried many things with different ports, publish/unpublish, restart app, restart LV, restart PC, they are blocked somehow, even though they worked in LV2019 no problem.  There are a lot of new settings in the 2020 web services, but something is not right with upgrading these?  Any ideas?

 

web serivce 2020.png

0 Kudos
Message 1 of 2
(1,851 Views)

OK, found out just in case this helps anyone else.  I had some previous created service installed on the cRIO and locally that were no longer showing in my project (I had removed them after testing) but they were still published and using the ports it seems, so once I cleaned them out and unpublished them in the ancient and pathetic silverlight config tools, I was able to properly access my new service.

 

Is NI ever going to rid of these stupid silverlight tools that only work in ancient browsers?  I mean really, with all the new web / nxg tools, you think this would be a priority to get rid of and replace with some native html5 sites.   Anyway, hope it helps someone else.

0 Kudos
Message 2 of 2
(1,778 Views)