'ConfigurationManager' is not a member of 'Configuration'.
  • i am trying to get app.config connection string but i am facing this error in vb.net
    'ConfigurationManager' is not a member of 'Configuration'.

    my code this.

    Dim conStr As String = System.Configuration.ConfigurationManager.ConnectionStrings("dbAccountsConnectionString").ConnectionString
  • 1 Comment sorted by
  • Vote Up0Vote Down farazfaraz
    10.00 Karma Accepted Answer
    simply add reference again go to project -- Right click and select --> Add Reference --> select .NET tab --> select System.Configuration -->Press Ok.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Tagged

Popular Posts of the Week

Top Posters Weekly

Optimum Creative