*Multiple configuration files, all named Web.config, can appear in multiple directories on an ASP.NET Web application server*. Each Web.config file applies configuration settings to its own directory and all child directories below it. Configuration files in child directories can supply configuration information in addition to that inherited from parent directories, and the child directory configuration settings can override or modify settings defined in parent directories. The root configuration file named *systemroot*\Microsoft.NET\Framework\*versionNumber*\CONFIG\Machine.config provides ASP.NET configuration settings for the entire Web server.
MSDN - ASP.NET Configuration http://msdn.microsoft.com/en-us/library/aa719558(VS.71).aspx ASP.NET Configuration Web.Config Files Elements http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=430 The ASP.NET Web.config File Demystified http://articles.sitepoint.com/article/web-config-file-demystified Master Pages http://msdn.microsoft.com/en-us/library/wtxbf3hh(VS.80).aspx http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx Beginner's Guide to Master Pages in ASP.NET http://www.aspnet101.com/2007/11/beginners-guide-to-master-pages/ http://www.asp.net/master-pages/tutorials On Wed, May 26, 2010 at 9:48 PM, OccasionalFlyer <[email protected]> wrote: > > > On May 24, 7:15 am, "Greg Hile" <[email protected]> wrote: > > Edit the menu items in master page (it has the .master extension), then > to > > add another page right-click master page in solution explorer and select > add > > content page. > > > > > I'm having a little trouble here with Visual Studio. It complains that > it cna't find web.config. So I have two questions. First, because of > what was done to the site before I took it over, there are multiple > copies of web.config here and there. What directory should web.config > be in? Second, where should I put it on my local machine for Visual > Studio to find it? I get an error for this if I try to do anything > with default.aspx because of the master page and the master page > apparently because of the lack of web.config. Is there a good > discussion some place of all these interconnections so I can > understand better what I'm seeing and what I'm doing? I'm not at all > averse to reading. (Indeed, I don't want to be here like the people I > see on Java forums who ask how to compile, something one can learn in > five minutes of reading). Thanks. > > Ken >
