- Plesk 12.5 for Windows
Migration on Plesk for Windows failed with the following error:
|- error: Transfer custom error documents of site 'example.com' and its virtual directories
| Command C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin64\\websrvmng --set-error-docs --vhost-name=example.com --vdir-name=example.com --error-docs="" failed with exit code 1
| stdout: Filename: \\\\?\\C:\\Inetpub\\vhosts\\example.com\\httpdocs\\web.config
| Error: Cannot add duplicate collection entry of type 'error' with combined key attributes 'statusCode, subStatusCode' respectively set to '400, -1'
.NET 2.0 framework is installed on a source server and is missing on a target server.
This is Plesk internal issue with ID #PMT-2586 , which is planned to be fixed in future Plesk updates.
Install .NET Framework v3 on the target server as it allows entities duplication in web.config file. In this case, .NET v2 will be replaced with .NET v3 during migration.
1. On the source and destination server, go to domain DocumentRoot and rename web.conig to web_orig.conf
3. Perform re-syncronization of subscriptions
4. On the destination server, go to domain DocumentRoot and rename web_orig.conig to web.conf