title: System.configuration web.config and app.config
body: <p>While using a third party dll I was getting the following exception:</p>
  
  <blockquote>
    <p>exePath must be specified when not running inside a stand alone exe</p>
  </blockquote>
  
  <p>with the following trace</p>
  
  <blockquote>
    <p>System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath).</p>
  </blockquote>
  
  <p>The reason I found was that it was looking for app.config and I had provided the details in web.config. My question is: why does the system.configuration differentiate between web.config and app.config? Any thoughts?</p>