Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using the BCS for reading/writing to a database. It all works well but a problem I have is that the DB uses various constraints to enforce data integrity.

If someone e.g., tries to insert some data which violates these constraints (e.g., unique key) then the DB correctly rejects it - but unfortunately SP just displays an ugly generic "it broke" message. The actual error (e.g., cannot insert duplicate key) is in the ULS.

Is there any way to pass the error message back to SP for display in the dialog so the user knows what happened?

share|improve this question
I have the same issue. did you find a solution for it? Omri – omri Apr 30 at 12:33

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.