Error "Cannot commit configuration changes because the file has changed on disk" occurs when I try to create a domain in Plesk

Refers to:

  • Plesk 10.4 for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows

Created:

2016-11-16 12:55:31 UTC

Modified:

2016-12-21 19:32:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error "Cannot commit configuration changes because the file has changed on disk" occurs when I try to create a domain in Plesk

Symptoms

When I try to create a domain in Plesk, I get the error

"Cannot commit configuration changes because the file has changed on disk":

Error message or request description : Error: WebServerManager::addVhost() failed: websrvmng failed: Filename: \\\\?\\C:\\Windows\\system32\\inetsrv\\config\\applicationHost.config Error: Cannot commit configuration changes because the file has changed on disk In module Exception type: System.IO.FileLoadException at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.CommitChanges() at Microsoft.Web.Administration.ConfigurationManager.CommitChanges() at Microsoft.Web.Administration.ServerManager.CommitChanges() at ServerManagerFactory.commit() at IIS7ServerManager.commit(IIS7ServerManager* )

Cause

  1. The root cause of the issue has to do with the McAfee antivirus program.

  2. IIS is busy with some process. For example, someone is performing changes in IIS at the same time that you are trying to create a domain in Plesk.

Resolution

  1. Please add the " %plesk_dir% " (for example, D:\\Parallels\\Plesk\\ ) folder and subfolders and " C:\\Windows\\system32\\inetsrv\\config\\ " to the McAfee On-Access scan Exclusions.

  2. Check that IIS is not busy with another process, and try to restart IIS.

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