07-08-2016 03:29 PM
Hi All,
I am trying to use the Labview WebDAV "Path info" VI on my cRio 9068 to see if a file exists on a remote data server. I am running into an issue where that VI fails and returns an An "unknown internal error" of -124201. I have been unable to find any info on Ni.com regarding this error, I have no clue as to how to troublesoot this issue, since other WebDAV VIs work correctly in the same enviroment.
Does anyone have any insite into this error regarding WebDAV PathInfo ?
Below is some example Labview code:
I am using Labview Real-Time 14.0.1 with WebDAV Client & Server 14.0.0 on my cRio
Thanks
07-11-2016 03:22 PM
Looking around, it looks like usually -124201 goes with permissions errors. Are you currently testing the case where the file exists, or where the file is missing?
07-13-2016 03:16 PM
Hi GaintDeathRobot,
I am testing the case where the file exists, the other WEBDAV call in my example, Get Buffer , is able to read the contents of the file no problem. I assume this would rule out a premssions issue.
I repeated the test with a mssing file, I get the same "unknow internal error" from the Path Info VI, the Get Buffer returns error -124100, "resource not found", which is fine. That's a meaningful error at least, "An unknow internal error", is worthless and does not convey any useful information.
Thanks for your suggestion,
I am thinking of just using the WebDav Get Buffer VI as a work around for the file existance check , should work fine for small files, but I am not sure about large ones.
I would probably need someone from within National to get to the bottom of this one due to the vague error code.
07-14-2016 07:09 PM
Well, there is the Directory Listing VI... you could run a directory list and check the resulting list for the file you are looking for.
Unfortunately, I'll be out of the office for the next couple weeks, so I can't do much more digging than that internally. But you could certainly open up a service request, and one of the other Applications Engineers could look into it further.
07-26-2016 08:02 AM
Hi GaintDeathRobot,
I tried your suggestion of using the Directory Listing VI, Unfortunately the same result, it returns the same unknown internal error -124201.
Thanks for your input.
09-08-2016 02:33 PM
I'm running into the same issue intermitently using the Webdav Delete VI. I'm wondering if there was ever any conclusion brought to this. It's not a huge deal and I can get around it but it is not a very helpful error and I would like to put in some sort of smart solution based in the actual issue instead of just guessing at work arounds.
09-09-2016 02:37 PM
Hi Scliepe,
We weren't able to find anything conclusive on the first post. However, coming from the WebDAV Delete VI, that one is an issue we know about. It's filed under CAR 517393. Are you seeing this error intermitently on the same file, or on different files?
09-09-2016 03:45 PM
I've been seeing it on different files. I did get the error again today from a different VI but don't know which one since I was working off of an executable instead of my source code.
09-12-2016 09:16 AM
Okay, so you can either delete the file, or you get this error? What are the permissions on the files throwing the error?
09-12-2016 04:12 PM
William,
Well, it is in the context of copying a file from a cRIO up to a computer and the way it happens is if there is an error it will come back around and transfer the data at a later time, so I'm not completely sure what is happening, if the file is not there yet, is having trouble being deleted, is being accessed somehow still when the delete is being performed. But I know that when I go back in to the directory where the file was it gets deleted, it just might take more than one time through the process.
I hope that makes sense.
Erich