T
Tim
Hi,
In my asp.net application, I wish to double check some of the options set in
the web.config file during application startup to make sure that for example
errors are never going to be reported to the internet user and that debug is
not set to true etc.
How does one read the following values?
<system.web>
<compilation defaultLanguage="vb" debug="true" />
<customErrors mode="RemoteOnly" />
I have read through and tried many of the different ConfigurationSettings
objects etc but always get either nothing or an exception.
There are also several appSettings that are mandatory...
If I detect a show stopper setting then what do I need to do to stop the
application startup?
Thanks for any help,
- Tim
In my asp.net application, I wish to double check some of the options set in
the web.config file during application startup to make sure that for example
errors are never going to be reported to the internet user and that debug is
not set to true etc.
How does one read the following values?
<system.web>
<compilation defaultLanguage="vb" debug="true" />
<customErrors mode="RemoteOnly" />
I have read through and tried many of the different ConfigurationSettings
objects etc but always get either nothing or an exception.
There are also several appSettings that are mandatory...
If I detect a show stopper setting then what do I need to do to stop the
application startup?
Thanks for any help,
- Tim