Ask a Question related to ASP.NET General, Design and Development.
-
Marina #1
Re: Intermittent problem reading appSettings in Web.Config
Are you positive this is a web config issue? You yourself say you don't know
what is being returned.
When you resave web.config, this restarts the web app - thus your problem
goes away. It is possible that the problem is due to something else, but
restarting the app elminates it.
"MLS" <mls@bitstream.net> wrote in message
news:fd3eb670.0308120737.1750fc42@posting.google.c om...> I have a web application, in this case a web service, that is running
> on Windows 2000, SP4 with the .NET 1.1 framework.
>
> Within the root folder of the application is my web.config, with
> several appSetting key/values.
>
> Periodically, the application will stop returning valid values from
> the web.config. I believe it to be returning something, probably a
> blank value, because the code doesn't seem to error when the value is
> returned. However, without a correct value, my application will error
> (gracefully in most cases).
>
> When this read error occurs, I can consistently reproduce the failure
> from multiple web clients, both local and remote.
>
> Once I determine this is the problem, the quickest way to clean up the
> problem is to open the web.config, and save it with no changes (thus
> changing the file date). Afterwards the application works perfectly
> again.
>
> Under current load, the application takes several days to a week
> before the issue manifests itself again.
>
> Does anybody have any thoughts?
Marina Guest
-
Reading Values from Machine.config in ASP.NET
How can i read values from Machine.config From ASP.NET -
Web.Config and appSettings tag
I am storing a database connection string in a key/value pair in the appSettings tag of the web.config file as follows: <appSettings> <add... -
reading Web.config with ConfigurationSetting HELP??
I have a Winforms app and a WebService. When the win app calls the service, the service reads the config file like so ... -
How secure are appsettings in web.config?
Just wondering how safe it is to include sensitive information such as a database connection string in web.config. -
appSettings problem!
Hello! I have one problem with the appSettings on win2k srv machine with framework 1.1. Following line not work anymore (it worked fine with...



Reply With Quote

