title: Validation failed for one or more entities
body: <p>I have following code in my asp.net MVC3 application:</p>
  
  <pre><code>string msg = "Beginning report run for: ";
              msg += " Obligor Registry ID: " + obligorID;
              msg += " Requesting Organization Registry ID:" + requestingOrgID;
              msg += " Requesting Agent Registry ID: " + requestingAgentID;
  
              TransactionLog lg = new TransactionLog();
              lg.TransactionTypeId = 2;
              lg.Message = msg;    
  
  
               context.TransactionLogs.Add(lg);
               long referenceNumber = context.SaveChanges();
              return referenceNumber;
  </code></pre>
  
  <p>and I am getting following error:</p>
  
  <pre><code>Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 
  </code></pre>