title: Runtime error message
body: <pre><code>public static DataTable getDataTable(string retrievalQuery)
  {
          sConn = new SqlConnection(AppSettingsExpressionBuilder.GetAppSetting ("DatabaseOG_VREG1").ToString());
  
          DataTable dtRet = new DataTable();
          SqlDataAdapter sDA = new SqlDataAdapter(retrievalQuery, sConn);
  
          try
             {
               sDA.Fill(dtRet);
             }
               catch (Exception ex)
             {
  
             }
                return dtRet;
  
  }
  </code></pre>
  
  <p>What could be the problem to this code? 
  System.InvalidOperationException: The application setting 'DatabaseOG_VREG1' was not found in the applications configuration. Error Message is "The application setting 'DatabaseOG_VREG1' was not found in the applications configuration."</p>