Cannot duplicate document error message

Issue

Customer will get an error such as this

[ERROR] Cannot duplicate document 'C:\mozydox\dita\maps\client_user_guide.ditamap' to 'C:\Documents and Settings\mark\Local Settings\Temp\WebWorks\ePublisher Pro\Data\c1lOMEMWrBWKmvs9ap7L6A\WZRJdZdZt68\aosgdd5G9d4\2_wZsgQcdpw\client_user_guide.ditamappdf' and apply settings. 

Possible Causes

There is no single reason for this type of issue. It indicates that something unexpected occurred. While not exhaustive, consider:

  • Your build system does not have enough room on the hard drive to copy the files.
  • If you have any DITA specializations or plugins, they may not be properly or fully integrated.
  • If you have overrides in batch-files.xsl, it may mean that a template call isn't being made correctly or the JAR files' CLASSPATH no longer match what's on disk.
  • Some other issue with an XSLT override.

Solution

The first step is to search your DITA log file for the word 'ERROR' and correct any and all issues. This may require you to remove all overrides and slowly add them back to isolate the offending XSL. If you cannot determine the cause, please open a Support case and attach your log file. Support will also likely request that you provide a minimal Designer project with source files that can be used to replicate the issue. Just keep in mind that Support needs a small DITA source file, just big enough to see the problem, no larger.

Permalinks/Solutions/Input/DITA/CannotDuplicateDocumentDITA (last edited 2009-09-08 21:27:10 by LaurenLever)