one application has many web.config files which web.config file execute first?

Last post 05-16-2008 1:20 AM by rajeshthangarasu. 3 replies.

Sort Posts:

  • one application has many web.config files which web.config file execute first?

    05-14-2008, 3:01 AM

    hi to all

    In my application i will add three web.config file which will execute first. how to set it. Give me a guidlines.

    by

    Devan.G

  • Re: one application has many web.config files which web.config file execute first?

    05-14-2008, 3:25 AM
    Answer
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 5:41 AM
    • Pune
    • Posts 881

    Hi,
    You can't add multiple web.config to application
    You can add single web.config to each folder present in sub directories of your application
    You can override the web.config files using multiple config files.

    Satalaj

  • Re: one application has many web.config files which web.config file execute first?

    05-15-2008, 11:40 PM
    Answer

    Hi,

    You can check this reference: http://www.beansoftware.com/ASP.NET-Tutorials/Multiple-Config.aspx

    Hope it helps.

     

    Sincerely,
    Vince Xu
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
  • Re: one application has many web.config files which web.config file execute first?

    05-16-2008, 1:20 AM

     There should be only one web.config file in your web application

    If you add more than one web.config only the config file called  web.config will be used

    Mark as Answer if the post was useful to you

    Rajesh Thangarasu
    Microsoft Certified Professional
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter