I'm tracking a bug on a remote server (Windows Server 2008 Standard Edition) and wanted to copy the applicationHost.config file from inetsrv to my local pc (Windows 7) to attempt to replicate the changes. When I copied the file I noticed that the file that turned up on my local PC does not include recent changes made to the file on the remote server.
- I've made a number of changes to the applicationHost.config file in c:\windows\system32\inetsrv\config.
- I've saved the changes and noticed them take effect on hosted websites.
- I can edit the file in notepad, notepad++ or visual studio on the remote server and see the changes I've made.
- If I select the file in windows explorer, right-click and copy then switch to local pc and paste, I get a copy of the file that does not include the changes I've made.
- If I do the same but paste to my local pc via the tsclient\ folder on the remote desktop I get the same issue - the version of the file does not include changes.
It's almost as if there is some kind of file cache in the clipboard. These aren't random changes - they appear to be reverting to a previous version. For example I'm seeing changes like "NetworkService" user for an app pool being switched to the "ApplicationPoolIdentity" user. This is reverting to a change I made months ago.
Does anyone have an answer? I managed to copy the text of the file directly, so the issue isn't as pressing. But it is a strange unexplained behaviour that I would like to nail down.