title: exePath must be specified when not running inside a stand alone exe
body: <p>When i am using a web application, the line of code below </p>
  
  <pre><code>Configuration objConfig = 
      ConfigurationManager.OpenExeConfiguration( ConfigurationUserLevel.None);
  </code></pre>
  
  <p>in class library are giving this error:</p>
  
  <blockquote>
    <p>"exePath must be specified when not running inside a stand alone exe." </p>
  </blockquote>
  
  <p>Previously a console application was being used, and the code could access the <code>app.config</code>. I tried using the <code>System.Web.Configuration</code> in class library but the dll was not present in the .Net tab for "Add reference". </p>
  
  <p>Kindly help :)</p>