Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing sections from Web.config
Message
 
À
06/11/2009 08:30:17
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01433550
Message ID:
01433551
Vues:
36
< 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

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform