This project is read-only.

Error during setup: Cannot write configuration file


Received this error towards end of setup. This is on a Windows Server 2008 box. Is this critical? Rest of the setup after that completed.
Info: Adding setAcl (Default Web Site/ServiceComposition.Samples.MonitoringRouterService).
Error: An error occurred when committing changes to the IIS Configuration System. The identity performing the operation was '<domain>\<user>'.
Error: Filename: \?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Cannot write configuration file
Error count: 1.


dmitrio wrote Mar 10, 2011 at 5:16 AM

Check kb 2023852

MattPoland wrote May 31, 2011 at 6:36 PM

I noticed that KB has an error of "Cannot write configuration file due to insufficient permissions" where this error states "Cannot write configuration file". I think that is significant. I was receiving that same error when programmatically managing IIS and it turned out the ApplicationHost.config was being locked by another process. In my case running ProcMon helped me identify the processes that were locking the ApplicationHost.config, "AppFabric Workflow Management Service" and "AppFabric Event Collection Service". I submitted a bug to the AppFabric Connect site (link below):

wrote Feb 14, 2013 at 12:34 AM