Avatar of Goraps
Goraps
Flag 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
* Acrobat ReaderPDFNetworking

Avatar of undefined
Last Comment
Goraps

8/22/2022 - Mon
Michael Pfister

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

ASKER
Tried that... also tried running in compatibility mode and running as admin.
sarabande

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
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
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.
sarabande

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
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
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Michael Pfister

Maybe the path together with a lengthy file name exceeds the max  of 256 chars.
sarabande

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
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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
sarabande

did you quote the above path? and did you append the pdf filename with extension .pdf?

Sara
sarabande

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
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
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kenfcamp

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
Goraps

ASKER
Yes... did the uninstall .. reinstall..   same thing happening at different workstations.
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.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Michael Pfister

(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.
Michael Pfister

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
sarabande

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Goraps

ASKER
I did the above in the link and that didnt work for me.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Goraps

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