- Plesk for Windows
- Plesk 10.4 for Windows
- Plesk 11.0 for Windows
- Plesk 11.5 for Windows
- Plesk 12.0 for Windows
The IIS service does not respond. Websites and the Control Panel are down.
The following error is shown in IIS Manager:
Error: Cannot write configuration file
There was an error while performing this operation.
Line number: 1517
Error: Configuration file is not well-formed XML
Note: The file path may differ from the above examples.
This issue may occur if there is not enough disk space on the server. The file path may vary from the one above, but, essentially, the error means that IIS has failed to write to one of its configuration files (
in the above example).
Free up some disk space and restore the latest IIS configuration backup.
Example commands for IIS 7:
C:\\Windows\\System32\\inetsrv>appcmd list backup
C:\\Windows\\System32\\inetsrv>appcmd restore backup CFGHISTORY_0000000062
Restored configuration from backup "CFGHISTORY_0000000062"
NOTE: The file at the bottom of the list is usually the latest one. However, to confirm this, you may check the creation date. The backups are stored in
If your restoration fails with the following error:
ERROR ( hresult:80070005, message:Command execution failed.
Access is denied.
attribute on the
Restart IIS after restoring the configuration: