When I change the ASP.Net version to 4.0, I get a 500.19 error because of duplicate section in web.config. So I deleted the duplicate section and replaced the web.config file. The changes are ignored, however. It seems that the web.config is cached somewhere. How can I get my changes to take effect? Thanks.
The web.config information is not cached. You may be inheriting some settings from the machine.config or application.config files. You can use the <remove> or <clear> tags to stop inheritance: http://weblogs.asp.net/mnolton/archive/2005/01/10/349986.aspx http://weblogs.asp.net/scottgu/arch...-t-forget-to-clear-when-adding-providers.aspx