Re: Object reference not set to an instance of an object using globalization
- From: "Siva M" <shiva_sm@xxxxxxxxxxxxxxxxx>
- Date: Sat, 3 Sep 2005 17:08:13 +0530
Make sure there is an entry named PgDesc in the <appSettings> section of the
config file.
"fredd00" <frederic.nourry@xxxxxxxxx> wrote in message
news:1125716637.078874.56870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi
in my page load
i use
ConfigurationSettings.AppSettings["PgDesc"].ToString();
to retreive to info to output to the file
the thing is for some values i get an error : object reference not set
.....
when i use ConfigurationSettings.AppSettings["rootPath"].ToString()
it works fine
does anyone know what is going on
thanks
.
- Follow-Ups:
- References:
- Prev by Date: using asp:textbox as search box, handling enter in textbox
- Next by Date: test whether a path is in public web directory?
- Previous by thread: Object reference not set to an instance of an object using globalization
- Next by thread: Re: Object reference not set to an instance of an object using globalization
- Index(es):
Relevant Pages
|