Skip to main content
kevinh3063037
Participating Frequently
May 31, 2019
Answered

The file is associated with another photo in the catalog

  • May 31, 2019
  • 5 replies
  • 18298 views

Hi everyone - need a helping hand here.

While processing a bunch of digitized negatives (with a D850 so am working with NEF files) using Negative Lab Pro in LR, I discovered a few that weren't behaving well when converting to positives so I went back and re-imported a few images from the camera.  I put them into a separate folder in LR and just finished up the first.  The conversion worked well, so I exported to the separate folder. 

Wanting to get those corrected files moved into my original file structure, I renamed (using Windows Explorer) the "bad" NEF in the file structure, then, inside LR, moved the "good" image in LR from the separate folder to my original folder.  Checking (again, in Windows Explorer) that the "good" NEF file was there (it is), I clicked on the Folder in LR and noticed that I have the ! in the upper right of the image.  Having learned the hard way, clicked on the ! and got the usual "....could not be used because the original file could not be found.  Would you like to locate it?" message.  Clicking Locate and navigating to the original folder, highlighting the flle and clicking Select results in a "The file XXX is associated with another photo in the catalog" message.

I've spent way too much time trying to find a resolution so am putting this SOS out.

Thanks in advance for all responses.

    This topic has been closed for replies.
    Correct answer dj_paige

    You have two copies of this photo in your catalog. That's why when you try to reconnect one of the two cpies, you get the message that it is already associated with another photo in your catalog. So, you have to find both copies (in Lightroom, you can click on "All Photographs" and then search by file name), and then delete from the catalog (but not from the hard disk) the one you no longer want. Then you should be able to reconnect.

    5 replies

    Participant
    October 26, 2022

    dj_paige is correct in what he wrote ( see below) for the fix. BEFORE following his instructions though, try closing and restarting Lightroom. That was a quicker fix for me and I was relieved not to lose all my ratings with flag, numbers and colors! Good luck 

    "You have two copies of this photo in your catalog. That's why when you try to reconnect one of the two cpies, you get the message that it is already associated with another photo in your catalog. So, you have to find both copies (in Lightroom, you can click on "All Photographs" and then search by file name), and then delete from the catalog (but not from the hard disk) the one you no longer want. Then you should be able to reconnect."

    Inspiring
    April 12, 2024

    OK. First time running into the "file associated with another photo". I followed the instructions, but when I select "Show in the Library" only 1 photo appears. Where is tnhis offending duplicate? 

    dj_paige
    Legend
    April 12, 2024

    Please follow the instructions in the answer marked correct.

     

    The answer marked correct does not include the step "Show in the Library" (which as far as I know is not the name of any command in LrC — what is the exact name of the command you used?)

    Participating Frequently
    June 1, 2021

    I have a slightly different issue: my Explorer view of a folder AND my LR view shows my images properly (no duplications), but my smart collection of the same folder shows a duplicate of EVERY file with the ! mark, which LR says  "... could not be used because the original file could not be found". When I try to use LR's Locate button, LR says it is associated with another file. I tried to correct the problem by deleting the smart collection and re-creating it, but I still get the images with the ! mark. All 62 images have these "duplicates".

    dj_paige
    Legend
    June 1, 2021

    You have (accidentally?) imported the photo twice. Do a search in Lightroom Classic, by file name, and you will see that the photo appears twice in your Lightroom Classic.

    Participating Frequently
    June 1, 2021

    Yes, it DOES appear twice, BUT my regular LR folders only show ONE copy of each image in that folder. It is ONLY the Smart Collection that has dupllicates.  The other Smart Collections in the Set are OK as are all my other Smart Collection sets. I have never re-imported the files (besides, LR would warn me that the files being imported are duplicates, which I know would cause me to lose my captions, etc). These "duplicates" HAVE all my metadata changes. I notice from the metadata didplay, that ONE image comes form a folder called "Galapagos", while the other comes form "2013-06-07-Guayaquil". The ACTUAL folder named "Galapagos" has NO images at all, but is a superset of all folders from that trip.

     

    WHOA!! While gathering this info for you, I clicked on the Collection SET label (Galapagos) and it showed all images from all the subfolders WITH the duplicates, but when I went back to the subfolder that "says" there are duplicates, THEY DISAPPEARED! Only the true images are present!! So I am REALLY Mystified as to WHY this happened and HOW it fixed itself!! I closed LRC, backed up the catalog, reloaded LRC and all  is well!!!

    dj_paige
    dj_paigeCorrect answer
    Legend
    May 31, 2019

    You have two copies of this photo in your catalog. That's why when you try to reconnect one of the two cpies, you get the message that it is already associated with another photo in your catalog. So, you have to find both copies (in Lightroom, you can click on "All Photographs" and then search by file name), and then delete from the catalog (but not from the hard disk) the one you no longer want. Then you should be able to reconnect.

    kevinh3063037
    Participating Frequently
    June 5, 2019

    OK, thank you - I managed to delete the offending file and was able to export the image but now have another issue that is highly frustrating.  I have exported a dozen images and when I open LR and select the folder, I see two images in LR - the NEF and the JPEG.  However, with these re-imported files, I don't see the JPEGs in LR.   I can see them in Windows Explorer but not in LR.

    I also have searched for videos on how to move files in LR but everyone I see deals with moving files (in LR) from one drive to another.  All I want to do is move from one folder to another.

    JohanElzenga
    Community Expert
    Community Expert
    June 5, 2019

    If you have raw+jpeg pairs and want to see the jpegs next to the raw files, then you have to check that option in the preferences.

    -- Johan W. Elzenga
    JohanElzenga
    Community Expert
    Community Expert
    May 31, 2019

    Lightroom uses more than the file name to recognize an image, that is why it noticed what you did. It knows that the ‘good’ files are already in the catalog. The solution should be simple in this case. First remove the new (good) files from the catalog. Then you should be able to reconnect the old files without getting this error.

    -- Johan W. Elzenga
    99jon
    Genius
    May 31, 2019

    It’s not a good idea to rename or move files outside of Lightroom. That will break the catalog links. Is there any way you can restore the original names in Windows Explorer? That could save a lot of time searching for missing photos.

    I’m not sure about the association. Do you have any virtual copies? Have you re-imported or used synchronize folders?