16 February 2009

IIS 7 Tip #1 Finding all the web.configs

Often during troubleshooting we need to figure out the locations of all the web.config files that could potentially affect a web application. With IIS 7.0 the configuration is now decentralized and settings could be spread out over a bunch of config files.

Appcmd provides an easy way to locate all the web.config files that affect IIS / ASP.NET settings.

 appcmd search config

This will list all the locations that IIS would read for a config file including all virtual directories under a website. The best part is that it also scans physical folders that are not marked as applications.

appcmd

 

This article marks the start of a series where I will be posting tips that help administering IIS 7. If you have a tip that you want to share send it to me via the email link on the top.


Bookmark and Share

Filed under: ,
 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# IIS 7 Tip #1 Finding all the web.configs - Click & Solve said:

PingBack from http://www.clickandsolve.com/?p=9044

16 February 09 at 5:44 PM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker