Home All Groups Group Topic Archive Search About

How do I access appSettings in 2.0?

Author
22 Dec 2005 9:23 PM
Brad Wood
Calling ConfigurationSettings.AppSettings.Get raises the error,
"Configuration system failed to initialize".

I've searched, but found no information about this problem...

Author
22 Dec 2005 10:15 PM
Cowboy (Gregory A. Beamer) - MVP
It is in the Configuration Manager class under System.Configuration.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


Show quote
"Brad Wood" wrote:

> Calling ConfigurationSettings.AppSettings.Get raises the error,
> "Configuration system failed to initialize".
>
> I've searched, but found no information about this problem...
>
Author
22 Dec 2005 11:57 PM
Greg Burns
Don't forget to reference System.configuration.dll

That trips up a lot of people.

Greg

Show quote
"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM> wrote
in message news:062A305C-49D6-43C4-A749-9BEF1CFCACA6@microsoft.com...
> It is in the Configuration Manager class under System.Configuration.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
>
> "Brad Wood" wrote:
>
>> Calling ConfigurationSettings.AppSettings.Get raises the error,
>> "Configuration system failed to initialize".
>>
>> I've searched, but found no information about this problem...
>>
Author
27 Dec 2005 3:57 PM
Brad Wood
I get the same error when calling ConfigurationManager.AppSettings.Get.

Cowboy (Gregory A. Beamer) - MVP wrote:
Show quote
> It is in the Configuration Manager class under System.Configuration.
>

AddThis Social Bookmark Button