Multiple Web.config files [Resolved]

Posted by Shrikant.falke under ASP.NET on 9/7/2010 | Points: 10 | Views : 2066 | Status : [Member] | Replies : 4
Suppose we hv 2 web.config files in an appl, one in root folder and another in sub folder.
Can u pls tell me what are the tags that we can't over write in web.config of sub folder.
Please give me ex. or provide link for the same.
Thanks in advance.




Responses

Posted by: Shankul2784 on: 9/7/2010 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Hi,

If we have many folders then we can add the no of folders web.config + main applications web.config.

If we place web.config in the folder then it is taking default values from the main applications settings. If we set the folder specific then it is not applicable to the other folders or application pages.

I hope, this will help you.

Thanks & Regards,

Shailesh

Shrikant.falke, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hiremeforyourwork on: 9/7/2010 [Member] Starter | Points: 25

Up
0
Down
Hi, Its not possible. We can't place two web.config files in the same project in different folders. Instead of config files we can use xml file like web.xml files.

Shrikant.falke, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Phmadala on: 9/7/2010 [Member] Starter | Points: 25

Up
0
Down
Hi,

We can have web.config files in different folders in same project...

the sub folder overrides the main web.config for the whole project..

Shrikant.falke, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shrikant.falke on: 9/7/2010 [Member] Starter | Points: 25

Up
0
Down
I think u guys are not understand what exactly i want to know.
There are some tags which we can not implement/override in the web.config of sub folder.
I want to know the name of thoese tags


Shrikant.falke, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response