Yes.There can be multiple web.config files in an ASP.NET application but they should be in the different folders.For the entire application there can be only one main Web.Config.If you assign membership and roles to an application you can see a specific web.config will get created for the folder.
Above answer was rated as good by the following members: surendra_sahu786
RE: In an ASP.NET application can we add more than one...
i will explain this with folder and sub folder.When we define the web.config for the folder then this will be applicable for the applications in the folder.At the same time if we define the web.config for the applications in the sub folder then it will be applicable for the sub folder applications.So any sub folder application derives it properties from the folder application web.config and if some of the parameters are overide in the sub folder application then the sub folder appln will take the its own web.config parameters
RE: In an ASP.NET application can we add more than one...
Yes.There can be multiple web.config files in an ASP.NET application but they should be in the different folders.For the entire application there can be only one main Web.Config.If you assign membership and roles to an application you can see a specific web.config will get created for the folder.