Error: 'The name 'Configurationmanager' does not exist in the current context'

Last Reply on Jul 22, 2016 07:05 AM By dharmendr

Posted on Jul 21, 2016 01:53 AM


I tried my best with this tutorial:

But it seems not working in my app. I did everything the same. I added System.Configuration reference and what i have is just an error:

The name 'Configurationmanager' does not exist in the current context 

Do you have any ideas?


I think it can be important, but my app works with this type of app.config:

<?xml version="1.0" encoding="utf-8" ?>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />


so there is startup instead of connectionStrings. Of course I changed it to connectionStrings when i was trying to encode.

Posted on Jul 22, 2016 07:05 AM Modified on one year ago

Hi damianoo11,

Refer the screenshot for adding reference and also add the reference in page.