We have 2 IIS 7.5 webservers (Say Web1 & Web2) to host our website using shared configuration.
OS on both of the webservers is Windows 2008 Server.
We have one more server (Say FileServer1) that we use to keep shared config and content.
Here is our website structure on IIS 7.5:
We have one website (say www.ourwebsite.com), beneath which we have 2 virtual direcotries apps (say SubApp1 & SubApp2)
The website content resides locally on Web1 & Web2.
But the content of VDs reside on FileServer1.
First we configured Web1 to use shared configuration. We made it point to shared config on FileServer1.
Also as mentioned, the main website points to its local content (like C:\content) and 2 VDs points to shared content on FileServer1.
After completing this configuration on Web1, we tested the webstie and VDs and they all work fine.
Now, we did the same config on Web2.
But when we browse our website from Web2, it show this error: HTTP Error 503. The service is unavailable.
Then I observed that on Web2, the app pool was stopped. When I try to start it, I receive this error: There was an error while performing this operation.
Filename: \\?\UNC\FileServer1\webconfig\applicationHost.config
Error: Cannot commit configuration changes because the file has changed on disk.
Web1 is still working fine, but I am stuck with the error on Web2.
Your help is highly appreciated. Thanks.