During the update from DocuWare 6.7 (or newer, up to DocuWare 6.12) to DocuWare 7 or DocuWare 7.1 the step "Upgrade Content database" fails with the error message "ImpersonatedExec: Exit Code treated as error."
This means that the Content Upgrader failed to update one or more baskets/file cabinets.
Please go to C:\ProgramData\DocuWare\SetupLogs\ and search for the latest CtServerUpgrader.log.
If more of them are present, open all of them.
Search for the following:
ERROR: DocuWare.Common.Exceptions.DWDBException: The index 'IXfa52b34786484f568506d06304b1' is dependent on column 'DOCUMENTCHANGE'.
ALTER TABLE ALTER COLUMN DOCUMENTCHANGE failed because one or more objects access this column.
Please keep in mind that the index name might be different on your system, so you might have to adjust to only search parts of the message.
This means that in the database dwdata table dwsys a index was not deleted correctly and this hinders the upgrade.
If you use different databases for webbaskets, check those dwsys tables to.
Check to see if the index name corresponds with the one from the error message.
If the index name is the same as in the error message, you can delete the index and rerun the setup.
This index has to be deleted for only the upgrade step from 6.12 to 7.
Do not delete indexes other than the one specified in this exact context and only if the upgrader runs into the index error.
Do not delete the index before running the upgrade or with versions less than DocuWare 6.12 and only if you upgrade to DocuWare 7.