LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web services Access Error: 404 -- Not Found

In case anyone else sees the 404 error- this will happen if you have a control or indicator of a data type (such as enum) which is not yet supported in web services linked to the connector pane.  So that is one thing to check.

Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
Message 11 of 13
(2,396 Views)

I found another case that will result in a 404 error: when a file path of one or more of your VIs exceeds Windows' 255-character limit in the as-deployed state. It is quite easy for this to occur since NI is places the deployed web service in

 

C:\Documents and Settings\All Users\Application Data\National Instruments\Web Services 2009 32-bit\UserServices\deployed\{Service Name}-{37-character GUID}

 

So that's about 170 chars before user code is taken into consideration. Since the web service is deployed with the VI hierarchy preserved, relative paths longer than 85 chars will induce failure. There may be ways to work around this inside of LabView but otherwise from the user level we just have to rename files to shorter names. I'm investigating a work-around.

 

-Rob 

0 Kudos
Message 12 of 13
(2,243 Views)
See this thread for a workaround for the MAX_PATH issue.
0 Kudos
Message 13 of 13
(2,207 Views)