I have developed a MarkLogic XQuery application that has been running on an old Windows server that has C: drive and E: drive local storage, where millions of images are stored on the X: drive outside of the ML databases. My code therefore accesses an image by a path that begins "X:...". That all worked fine.
However, the server is being replaced, and the drive that contains the images will now be a shared disk that can be accessed by all the nodes in a cluster. My IT guys have mapped the shared drive to the letter X:, so that when I remote desktop into the new server, I can see an X: drive. But MarkLogic fails to read files from it. For example, if I use this command:
xdmp:filesystem-directory("X:")
I get the error message "The system cannot find the path specified".
I am prepared if necessary to drop the requirement for an X: path, if that is not possible, and instead use a path such as "\mySharedDrive\Data...". But even that is not working, as I get a "The user name or password is incorrect." error (I get WORSE error messages if there is anything wrong with the path, so I know that ML is at least reaching the "Data" directory).
My network IT support guys are stumped, so was wondered if anywone here could help?
My suspicion is that it is something to do with ML running as a user called "SYSTEM"?
The new server is a Windows 10 Enterprise LTSC server if that makes any difference.
Thanks,
Neil.