How to View DBEntityValidationException

Try

Catch ex As System.Data.Entity.Validation.DbEntityValidationException
For Each eve In ex.EntityValidationErrors
For Each e In eve.ValidationErrors
MsgBox(e.PropertyName & e.ErrorMessage)
Next
Next
End Try

Author: Travis Gneiting

Passionate Professional .NET Developer