We have a TBB created to Publish Binaries files based on this post.
Multiple instances of this TBB is used in a web site to publish Images, CSS and JS files from different folders. It TBB works fine in Template Builder without any issues. It does work well on couple of Targets.
Unfortunately, publishing fails on a specific target while committing the transaction with the following error message.
Committing Deployment Failed:
Phase: Deployment Prepare Commit Phase failed, Unable to prepare transaction: tcm:0-91781-66560, Attempting to deploy a binary 29967 to a location where a different binary is already stored Existing binary: 977:, Attempting to deploy a binary 29967 to a location where a different binary is already stored Existing binary: 977:, Unable to prepare transaction: tcm:0-91781-66560, Attempting to deploy a binary 29967 to a location where a different binary is already stored Existing binary: 977:, Attempting to deploy a binary 29967 to a location where a different binary is already stored Existing binary: 977:
This happens only when publishing using Publish Binaries (Images & JS files). Images created as components are published without any problem.
To resolve this problem we have deleted the target directory and republished the pages. Still the problem continues just for these pages alone.
Can someone help with what could be the general issues to cause the commit to fail?
Thanks,
Anbu
Updated: 2014-02-15 Most of the replies are pointing to the duplicate file on the file system folder and/or images components. I agree, they should be unique. I'm able to publish the same binaries on other targets, but only to the specific target. If the files are not unique, publishing should have failed on all targets. Please note, we have deleted the entire binaries folder to ensure no files are exist under the target folder.