Select to view content in your preferred language

Error "Cannot open File.." happening for Add Attachments?

4125
3
07-26-2018 01:03 PM
JRAdams
Regular Contributor

ArcMap 10.6

Trying to use the tool,add attachments, keep getting the Error "Cannot open File D:\Pictures_...\filename"

Have generated match table

The path name is correct, the match field is correct 

Have been at this for hours. Successfully used this tool last week, no problems.

Any help is greatly appreciated!! 

0 Kudos
3 Replies
MichaëlSt-Pierre
Regular Contributor

Same here but I found a work around. When generating your Attachment Match Table, try not to check the "Store Relative Path" box. Try Again. Make sure you verify your results at the proper Version Level.

SarahHampton1
New Contributor

Your match table has to be inside the same geodatabase as the feature class you are adding attachments to. 

JohnMcGlynn
Regular Contributor

Make sure your file names don't have leading or trailing spaces. Also remove non-breaking spaces (u00a0). I ran into this when using arcpy to create the match table by copying file names from a spreadsheet.


Another thing, if the files are stored on OneDrive, copy them to a local directory. This also fixed a 'cannot open' problem for me.

0 Kudos