Domain reconfiguration fails: Cannot add duplicate collection entry of type 'error'

Created:

2016-11-16 13:03:00 UTC

Modified:

2017-08-08 13:34:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Domain reconfiguration fails: Cannot add duplicate collection entry of type 'error'

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Domain reconfiguration fails with error:

C:\\Program Files (x86)\\Parallels\\Plesk\\bin>"%plesk_cli%\\repair" --reconfigure-web-site -web-site-name example.com
Filename: \\\\?\\C:\\Inetpub\\vhosts\\example.com\\httpdocs\\web.config
Line number: 156
Error: Cannot add duplicate collection entry of type 'error' with combined key attributes 'statusCode, subStatusCode' respectively set to '451, -1'

Cause

Duplicate entry in domain web.config file.

Resolution

  1. Comment the line mentioned in error message in domain web.config file. Path to file can be found from error message.

  2. Run reconfiguration again.

Have more questions? Submit a request
Please sign in to leave a comment.