1
Vote

Error during setup: Cannot write configuration file

description

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.

comments

dmitrio wrote Mar 10, 2011 at 4:16 AM

Check kb 2023852

MattPoland wrote May 31, 2011 at 5: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):

https://connect.microsoft.com/dublin/feedback/details/671846/appfabric-monitoring-services-locking-applicationhost-config#details

wrote Feb 13, 2013 at 11:34 PM