Re: Updating web.config.ConnectionStrings at runtime
- From: "Bragadiru" <bragadiru@xxxxxxxxxxx>
- Date: Wed, 14 Mar 2007 11:15:28 +0200
Sorry for the delay.
I found a solution : instead of using null (getting a readOnly config file,
cached I think), now I'm using "~" to get the root web.config and I can
write to it.
old code : System.Configuration.Configuration cfgRootWebConfig =
WebConfigurationManager.OpenWebConfiguration(null);
new : System.Configuration.Configuration cfgRootWebConfig =
WebConfigurationManager.OpenWebConfiguration("~");
<fatima.issawi@xxxxxxxxx> wrote in message
news:1173210248.009626.121660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Did you find the solution to this problem? I have the same issue.
Fatima
.
- References:
- Updating web.config.ConnectionStrings at runtime
- From: Bragadiru
- Re: Updating web.config.ConnectionStrings at runtime
- From: fatima . issawi
- Updating web.config.ConnectionStrings at runtime
- Prev by Date: Re: Accessing Oracle via Web Service and IIS
- Next by Date: Binary files copy and execution paths ??
- Previous by thread: Re: Updating web.config.ConnectionStrings at runtime
- Next by thread: Unable to instantiate COM Interop from .NET Web Service
- Index(es):