title: xception of type 'System.ArgumentException' occurred in System.Data.Entity.dll
body: <p>I am new to asp.net and using the Entity framework. We have to create a website that use an entity model. The entity model (database) we exported as a .dll to be used by a asp.net website. When I call a function that uses a function of the dll I receive the following error:</p>
  
  <pre><code>An exception of type 'System.ArgumentException' occurred in System.Data.Entity.dll but was not handled in user code
  
  Additional information: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
  </code></pre>
  
  <p>The model was created with the entityframework version 4.0.0.0. The oldest version that I could add to the asp.net website is version 4.2.0.0. I am not sure if this is the cause or if it is something else. Some help would be appreciated.</p>