unable to save applicationHost.config file

Matt Stone picture Matt Stone · Jul 1, 2012 · Viewed 9.3k times · Source

I could not save applicationHost.config file, it says "save failed and it is open in another programs" while I stop IIS service and closed visual studio, any idea?

Answer

Flo picture Flo · Nov 11, 2012

If you're on a 64-bit architecture and trying to edit with a 32-bit editor (e.g. Notepad++) apparently you can't save the file. Try editing your file with the regular notepad that is shipped with Windows. To be absolutely sure, also run Notepad as an Administrator