>From my experience, The web.config file should be in the root of the site.
You may want to create a new site from scratch, add a master page to it and then copy the contents of your existing master page to it and then rebuild the site page by page that way. An excellent book for learning this is The Microsoft Expression Web Developers Guide t ASP.NET 3.5. Ironically it is not about using Expression web, but mainly about using Visual Web Developer 2008 Express Edition. Greg -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of OccasionalFlyer Sent: Wednesday, May 26, 2010 12:18 PM To: DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting Subject: [DotNetDevelopment] Re: Adding new page and menu item to existing site 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
