1.4.3: File not found when using UNC paths

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
OlGi
Posts: 4
Joined: Thu Dec 15, 2022 2:53 pm

1.4.3: File not found when using UNC paths

Post by OlGi »

Possible de converser en français si c'est plus facile pour vous.
XnView : MP 1.4.0 64bits (Dec 12 2022)

Effect :
There is a bug using UNC paths. Clicking on an image using a path like \\mysrv\sharedfolder\myimage.jpg will display an error message saying "File not found!".

To reproduce :
1. Open File Explorer twith a UNC path (ex: \\mysrv\sharedfolder)
2. Double click on an image

Actual behaviour : Error message saying "File not found!"
Expected behaviour : Open the image in the viewer

Best regards.
Last edited by OlGi on Wed Mar 01, 2023 10:29 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: File not found when using UNC paths

Post by xnview »

could you try latest version?
Pierre.
OlGi
Posts: 4
Joined: Thu Dec 15, 2022 2:53 pm

Re: 1.4.0: File not found when using UNC paths

Post by OlGi »

I just did right now and edited my post to comply with your bug template. Still the same error. This is really annoying and makes XnView MP useless for UNC paths.

D'avance, merci pour votre aide !
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.0: File not found when using UNC paths

Post by xnview »

its working here, if you drag&drop the file on XnView's icon?
Pierre.
OlGi
Posts: 4
Joined: Thu Dec 15, 2022 2:53 pm

Re: 1.4.3: File not found when using UNC paths

Post by OlGi »

Hi Pierre, I've been investigating deeply and I think I know why this is not working. Sometimes your UNC path has only the DNS name of the fileserver but sometimes it is a FQDN meaning it includes the domain name. I've been playing with paths in different environments and fileservers and NAS and this what I can tell you so far :

UNC path NOT WORKING :
\\myfileserver.mydomain.local\mysharedfolder\mypicture.jpg

UNC path WORKING :
\\myfileserver\mysharedfolder\mypicture.jpg

It seems when a mapped drive is mounted in Windows with the domain name, XnViewMP can't handle the file path correctly.

Additional info, the domain where I have the issue is in the format aaa.bbb.ccc. It contains 2 dots within its name.

You can reproduce this using the command line "net use" to mount a UNC path using your domain name assuming you are in an enterprise environment and not using a workgroup.

It's been also tested with version 1.4.3.

Can you please try to make XnViewMP handle this kind of path please ?

Best regards.
Last edited by OlGi on Tue Feb 28, 2023 7:28 pm, edited 1 time in total.
OlGi
Posts: 4
Joined: Thu Dec 15, 2022 2:53 pm

Re: 1.4.0: File not found when using UNC paths

Post by OlGi »

xnview wrote: Thu Dec 15, 2022 4:59 pm its working here, if you drag&drop the file on XnView's icon?
Hi, can you confirm you've actually tested on a domain network and not on a workgroup network ? From my point of view, XnViewMP is not handling full qualified domain names correctly on mapped drives.

Thank's for your reply.

Best regards.
Post Reply