Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing sections from Web.config
Message
From
06/11/2009 08:52:44
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01433550
Message ID:
01433552
Views:
37
Does that clear everything? Is there a way to clear a specific section?

Also, is there a good reference somewhere that covers web config stuff in detail?
Thanks
Tim

>< clear / >
>
>>Hi all,
>>
>>I have a website hosted with a web.config file. In the config file there is sections defined for databases and databasesets. Now I am putting another web application behind this one so essentially if you navigate to a subfolder it is a virtual directory and a different web application. I have another web config file there with the same sections defined. I removed the databasesets definition under configSections as I don't need it but the databases section I do need. It is causing an error as it is already defined in the first web.config.
>>
>>How do I clear or remove it before re-defining the section in the second web.config?
>>
>>I suppose I could add my second configuration of databases to the first web.config and just remove it from the second one but that isn't very friendly for having the configurations near the application.
>>Thanks for any help on that.
>>Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform