Hello all.
I'm working with a system that is SBS 2011 (server 08r2), which has numerous IIS sites installed by default (company web, remote web workspace, etc etc). I was told that we begin experiencing this issue after doing some Windows updates and it updated something for SharePoint Foundation.
At first, symptoms were getting a "Service Unavailable" message when attempting to load the sharepoint website in question (companyweb). When looking at IIS, the corresponding app pool was stopped "SBS Sharepoint App Pool". At first, attempting to start the app pool back up worked fine; but when attempting to load the page again we got the service unavail message again, and then the app pool stopped running.
I read numerous things online which suggested that it was a login account issue; the system was set with that webapp using domain\spwebapp as it's login account - I attempted to update the password in AD, IIS and within SharePoint managed accounts but it still failed. At the time, I chose to change the app pool's identity to NetworkService and after doing that, everything worked great for about a week.
This morning, it stopped working again. When I checked, the identity was set back to domain\spwebapp; so I tried to change it to NetworkService again but got the following error message:
There was an error while performing this operation.
Details:
Filename:
\\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error: Cannot write configuration file
Currently, we are getting this error any time I try to start the app pool, make changes to it, or create a new app pool. The last one there makes me realize that this isn't specific to the app pool that's not working. I attempted to troubleshoot this by verifying that I was running the IIS manager console 'as administrator', I verified that I was logged into the system as a domain admin w/ full permissions, and I checked the filepath to inetsrv/config to make sure that my account had read/write permissions - everything looked fine.
I copied an old applicationHost.config file from c:\inetpub\history\ and dropped it over the current one hoping that would help but it made no change.
Could anyone point me towards what else I need to look at in order to get this fixed?