Jody Dodson

Jody Dodson

  • NA
  • 1
  • 0

My.Settings in a VB.NET Web Application

Oct 30 2009 12:11 PM
I am utilizing the My Project > Settings to store my ConnectionStrings and other useful Strings that I may use within my application.  This action causes the sections to automatically be created in your web.config file.  This all happened just fine a few months ago and I haven't made any changes to my settings since.  I just noticed that what I pushed to production months ago and what I have locally are not the same in that those sections that were created automatically in the web.config file are not there anymore on my local config file.  It's as if they have disappeared.  That's in the config file, but if you double click on the My Project and pull up the Settings that way, all my ConnectionStrings and other misc. Strings are there but not in the web.config file.  Everything builds and works perfectly, but the sections have disappeared in the config file.

Does anyone have an idea what may have happened and how I can get those sections back?  I can do it manually but I want to make sure there is not an underlying problem first.

Thanks.