MP 0.68 -- Won't load JPG from NAS directory.

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

User avatar
JABFuzzy
Posts: 2
Joined: Tue Jul 01, 2014 1:35 am

MP 0.68 -- Won't load JPG from NAS directory.

Post by JABFuzzy »

Searched for something similar and found nothing.

I am running Windows 7 x64
I have a NAS that contains my photo archive.
I have created a Directory Symbolic Link with mklink to the photo archive on my NAS drive.
mklink /d photos \\MyNASServer\Photos

I have read write access to the folder on the NAS drive.

When I double click a jpg image from Explorer XnView MP v0.68 launches and I get the error dialog box "File can't be loaded!"
I get the same error if I use File Open from XnView MP v0.68.

If I map the NAS folder to a drive letter, double click from explorer and file open work fine.
net use N: \MyNASServer\Photos

I prefer the mklink to directory mapping. Why doesn't XnView MP v0.68 like this? Or rather, what is it about this type of connection that is causing XnView MP problems?
--
Joe
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: MP 0.68 -- Won't load JPG from NAS directory.

Post by m.Th. »

Why don't you use directly: \\MyNASServer\Photos and add it to the Favorites?

I don't know your configuration, but here and there, and also on other forums were enough reports with such things WRT Apple's network problems (dropping connections etc.) and/or some other devices.

I don't say that the problem is necessarily outside of XnView but we use the program on a Windows LAN from enough years now, without problems. Hence I think that the problem is tied to the symbolic link specifically.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
JABFuzzy
Posts: 2
Joined: Tue Jul 01, 2014 1:35 am

Re: MP 0.68 -- Won't load JPG from NAS directory.

Post by JABFuzzy »

m.Th. wrote:I don't say that the problem is necessarily outside of XnView but we use the program on a Windows LAN from enough years now, without problems. Hence I think that the problem is tied to the symbolic link specifically.
Thanks. That is what I meant to convey, I am certain the problem is tied to the symbolic link. All tests show that the LAN connection, permissions and the symbolic link work fine. I open multiple file types through the symbolic link with many other applications. XnView is the only application with which I have experienced a problem opening a file from a path that contains a symbolic link. Ideally the application should not even know there is symbolic link involved. The OS should make that transparent to the application. However, I am sure MS did not get that perfect.

"Favorites" doesn't do what exactly what I want and introduces it's own problems. The NAS is on my home network, and the laptop I use primarily is for work. So I am back on forth on different networks every work day. I placed the directory symbolic link under my documents folder. If I never navigate to that folder, then no network access is attempted, which doesn't slow me down at work.
--
Joe