title: MVC3 with EF, error on Updating record "An error occurred while updating the entries. See the inner exception for details."
body: <p>I am facing subject issue while working with EF DB first with MVC3.</p>
  
  <p>Please note my EF model is in a class library which is referred inside a MVC project.</p>
  
  <p>On adding new controller, I selected "Controller with read wirte actions and views, using Entity Framework". As a model class I selected EF's generated class and as a context I select EF context.</p>
  
  <p>Running on page it display records, on clicking eidt it rendered edit view as well. Just problem is when I try to update it through error.</p>
  
  <p>Please guide me.</p>
  
  <p>Thanks</p>
  
  <p><strong>EDID</strong>
  This error is not always, some time this error appears and some time it updates.</p>