Overview
It is possible that the reporting module's data export job fails with the following error message:
Error: The new name 'X' is already in use as a OBJECT name and would cause a duplicate that is not permitted.
The 'X' might vary case by case and be e.g. Document, Assignment or Project. In many cases this means that the reporting database is in an inconsistent state which may have been caused by a connection error during a reporting data transfer, for example. For this reason, the error shouldn't exist if the export is targeted at an empty database.
Solution
The problem can be solved by emptying the reporting database. This shouldn't be a problem since by design the data that is stored in an M-Files reporting database is not persistent and will be overwritten during every successful export run. However, emptying the database should be done with extreme caution and only if you know what you are doing since emptying a wrong database, for instance, can lead to a severe data loss.
