Home All Groups Group Topic Archive Search About

vs 2005 c#: where is configurationmanager class?

Author
5 Apr 2007 7:46 PM
Ace
hi, i have a web project that was converted to .net 2.0.
i am trying to read a value from web.config; however, i can't see to have
access to configurationmanager class rather i only see configurationsettings
class.

then i created a brand new project in vs 2005 and noticed that i have access
to configurationmanager class fine.

so it makes me think that there is something has to do with this project
which was convereted from .net 1.1 to 2.0. but i am not sure how to fix it.

any thought?

thanks....a

Author
5 Apr 2007 9:18 PM
Ace
found the solution.
i had to manually add a reference to system.configuration

Show quote
"Ace" wrote:

> hi, i have a web project that was converted to .net 2.0.
> i am trying to read a value from web.config; however, i can't see to have
> access to configurationmanager class rather i only see configurationsettings
> class.
>
> then i created a brand new project in vs 2005 and noticed that i have access
> to configurationmanager class fine.
>
> so it makes me think that there is something has to do with this project
> which was convereted from .net 1.1 to 2.0. but i am not sure how to fix it.
>
> any thought?
>
> thanks....a

AddThis Social Bookmark Button