Corrupted applicationHost.config file in IIS 7
IIS7 stores its parameters in an XML file, located typically at C:\Windows\System32\inetsrv\config\applicationHost.config. This is a nice solution as every parameter is clearly readable. Unfortunately, there are still some bugs (maybe in IIS 7, but some problems with anti virus programs have also been reported) and this file may be corrupted.
What to do when this file is truncated? Reset it and loose all of your settings?
Luckily IIS makes a backup each time you make a change. All those versions are stored in the folder C:\inetpub\history\. All you have to do is to copy a former applicationHost.config file into the C:\Windows\System32\inetsrv\config\ working directory.
What to do when this file is truncated? Reset it and loose all of your settings?
Luckily IIS makes a backup each time you make a change. All those versions are stored in the folder C:\inetpub\history\. All you have to do is to copy a former applicationHost.config file into the C:\Windows\System32\inetsrv\config\ working directory.
Labels: IIS

8 Comments:
Exactly what I needed, thank you so much.
By
SteveNickerson, At
July 21, 2008 9:11 PM
Thanks a lot.. My IIS came back from the Dead !!!
By
Vina's Blog, At
November 20, 2008 8:25 PM
Great! My IIS was just saved from a certain death.
By
Johan, At
February 13, 2009 11:32 AM
You saved me from getting my balls chopped off. Thank you.
By
Tester, At
June 16, 2009 1:35 PM
Thank You so much for this info...it worked for me.
By
Anonymous, At
September 24, 2009 7:03 PM
Phew, thanks for posting that :)
By
Anonymous, At
November 16, 2009 1:12 PM
Thanks a lot. Helped me too.
By
Volker Butterstein, At
November 19, 2009 2:12 PM
Exactly what I needed, thank you so much.
:)
By
Juan David Zuluaga, At
January 20, 2010 11:06 PM
Post a Comment
<$I18N$LinksToThisPost>:
Create a Link
<< Home