Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6559479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:19:56+00:00 2026-05-25T13:19:56+00:00

The ASP.NET web applications that I’m working on is using multiple web.config files. One

  • 0

The ASP.NET web applications that I’m working on is using multiple web.config files. One in the web root folder, and then we have another project (*.csproj) called “admin” which is located in a nested folder under the web root of the application containing its own web.config file. What ASP.NET configuration (or other configuration) is USED (or NOT USED) in the secondary web.config file? I’m in the process of upgrading Telerik’s Rad Controls and adding some new features. However, none of these controls apply to the main web application. They all apply to the admin project pages. So I don’t want to add something into the main/primary web.config file if I can help it. If you also can share any gotchas (or limitations) when using a secondary web.config, please do!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:19:56+00:00Added an answer on May 25, 2026 at 1:19 pm

    web.config files are essentially merged through hierachy layout, as all config files are. Consider the following:

    machine.config (1)
        -> web.config (2)
             -> applicationHost.config (3)
                  -> web.config (4)
                      -> web.config (5) 
    

    The configuration mechanism in .NET allows for configuration elements to be overridden (or locked) at various stages in the configuration hierarchy, where:

    1. machine.config is the machine level configuration – configuration here is applied to all .NET applications.
    2. root web.config is the machine level web configuration – where the majority of ASP.NET modules/handlers are configured, and configuration is applied to all ASP.NET applications.
    3. applicationHost.config is the IIS7 root web configuration – the module/handler configuration items are used when the application pool is running in Integrated mode.
    4. application web.config is the application-level web configuration. Configuration here is applied to the application and all child folders/virtual folders.
    5. virtual folder web.config is the virtual-folder-level web configuration. Configuration here is applied to the current virtual folder and all child folders/virtual folders.

    If you are running on IIS <7, or IIS7 in Classic pipeline mode, the applicationHost.config file is not used as part of the merged configuration.

    The .NET configuration framework will merge the configurations all the way up hierarchy, obeying overrides and locked configuration elements where necessary.

    In you case, I would imagine you need to apply configuration at the virtual-folder level in your IIS application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a solution in VS 2008 that consists of multiple Asp.net Web applications.
In one of my ASP.NET Web Applications, I am using a BulkEditGridView (a GridView
I have an ASP.NET web application that is using forms authentication. Everything is configured
I am working on an ASP.Net web application that must print dynamically created labels
I am working on an ASP.NET web application that is required to bring up
i have a couple of xml files in my asp.net web application that i
I have 2 asp.net web applications, one of which is the main application and
I have 5 ASP.NET Web Applications that I need to distribute to client machines.
We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually
I have several ASP.NET MVC 3 Web applications that have a lot of common

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.