Link to home
Create AccountLog in
Avatar of Goraps
GorapsFlag for Canada

asked on

Adobe reader will not open files on Network mapped drive

Unable to open PDF files on the network using Adobe Reader within certain folders.   It's not a permissions issue as we are able to open other files in the same location.  The files are not corrupted as I can copy to my local drive and open the pdf files.   I can also open the PDF files using a different program ( Chrome, Edge, Nuance PDF pro)  and they open fine in the network location that adobe will not open them,  Sometimes I get an error stating " Error opening file... Cannot find file" or it will not give an error and nothing happens.

Current Version:  2019.021.20056
Avatar of Michael Pfister
Michael Pfister
Flag of Germany image

Try turning off protected view (Settings -> Security enhanced -> protected view ->off)
HTH
Avatar of Goraps

ASKER

Tried that... also tried running in compatibility mode and running as admin.
Unable to open PDF files on the network using Adobe Reader within certain folders.

did you try to copy the files to a local drive and open them with Adobe Reader?

that way you know whether the issue is a network issue or a file issue.

if it is  a network issue (what would be strange if you can open other pdf's), you may try to use UNC path to the pdf file. if that worked the drive letter is not available for the adobe reader. that happens if adobe reader runs 'as administrator' and the drive mapping is a local mapping.

if it is a file issue check event viewer logs (WIN + R eventvwr.exe) whether they logged an error.

Sara
Avatar of Goraps

ASKER

The files are not corrupted as I can copy to my local drive and open the pdf files.
 
 I can open other PDF's on the network.. It is hit and miss on the ones I cannot open and they are in different locations...   One other thing I just discovered is if I open adobe goto FILE / OPEN and drill down to the PDF I can open them...   So can't open them when using File Explorer.
So can't open them when using File Explorer.

so you open file explorer, navigate via Network node to the network share, then down to some sub folder, then double-click onto the pdf file, yes?

if so, can you post the path to the file as it would shown in the address line of windows explorer (if you click on it) ?

Sara
Avatar of Goraps

ASKER

That is correct... This is one of the paths:

G:\LAWYERS\CURRENT LAWYERS\MEK\MEK - OPEN FILES\STUART (248)\Case Stuart - 248\Productions\AB File from dated Nov 6, 2019\AB File from dated Nov 6, 2019\11491_Stuart\Correspondence
Maybe the path together with a lengthy file name exceeds the max  of 256 chars.
not quite ... because you navigated via drive letter G: rather than via the network share.

you may try to copy the path to the clipboard, then open a command window (WIN+R cmd.exe) ,

type a double-quote " 
paste the path by CTRL+V
add the filename+extension
add a double quote "
<enter>

i would assume that i doesn't work either. perhaps you get a message 'file not found'.

then do again but replace the G:\ by the \\Server\Share what you get by the command 'net use'.

Sara
Avatar of Goraps

ASKER

\\t410-server\Data\AGRO LAWYERS\CURRENT LAWYERS\MEK\MEK - OPEN FILES\ats STUART\I Stuart - 25348\Productions\AB dated Nov 6, 2019\ABdated Nov 6, 2019\1149Stuart\Correspondence

I navigated via network share as listed above... Still did not open...  I did the CMD prompt steps and it did not open... Said Path not found.
did you quote the above path? and did you append the pdf filename with extension .pdf?

Sara
you may try the following:

dir   "\\t410-server\Data\AGRO LAWYERS\CURRENT LAWYERS\MEK\MEK - OPEN FILES\ats STUART\I Stuart - 25348\Productions\AB dated Nov 6, 2019\ABdated Nov 6, 2019\1149Stuart\Correspondence"

Open in new window


if it shows the pdf file try

"C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\acrord32.exe"  "\\t410-server\Data\AGRO LAWYERS\CURRENT LAWYERS\MEK\MEK - OPEN FILES\ats STUART\I Stuart - 25348\Productions\AB dated Nov 6, 2019\ABdated Nov 6, 2019\1149Stuart\Correspondence\xxx.pdf"

Open in new window


replace xxx.pdf by the real filename.

if you get "path not found" remove the last folder Correspondence

by the way, the path is rather long. the whole command with (short) xxx.pdf is already 257 characters. 32-bit programs often were limited to 254 maximum path length which is due to a constant MAX_FILE used in c and c++ programs. windows has a longer limitation but is limited as well. the way out is to use share names or drive letter mappings which make the path lengths shorter.

Sara
Avatar of Goraps

ASKER

1.  Listed the contents of the correspondence folder

2. tried to open the pdf file but returned error " There was an error opening this document. This file cannot be found"

3. same as #2 when I remove the corresspondence folder.

Side Note:  from the server I can open this files
Could be a funky install

Have you tried uninstalling acrobat and reinstalling from a fresh download?

Uninstall Acrobat and reboot

Download a new installer - https://get.adobe.com/reader/otherversions/ - and install
Avatar of Goraps

ASKER

Yes... did the uninstall .. reinstall..   same thing happening at different workstations.
Avatar of Goraps

ASKER

I am starting to think it is the 256 character limit.    Is there a way to override this?   I did a test on my machine Win 10..  and I enabled win32 long paths but that didnt help any... THe server I am running is 2008 R2.
(No way to overide the limit,  its deep in the Windows API.) I stand corrected .. see below :-)
Shorten the path and file names or use a drive letter mapping deeper down the tree.
See here
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation

If you run Windows 10 1607 or higher on your clients you could enable long path support. This can work but maybe some applications can't handle that and crash.
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Goraps

ASKER

I did the above in the link and that didnt work for me.
Avatar of Goraps

ASKER

I was able to open the PDF when I shared the Productions folder and mapped to the O drive.