This project is read-only.

Problems with the validation

Jul 31, 2010 at 2:46 PM
Edited Aug 2, 2010 at 5:40 PM

Hello everyone and thanks to Jon for his great tutorial.

I have a problem with the validation. I'm using VS 2008 Pro, and I have created the reference to DataAnnotations and the partial classes for the metadata, but when I create a new album and press the Save button,

an UpdateExcepton is thrown, so I think the validation is not launched, but if I enable the client validation, it works perfect.

What could be the problem?

Thanks in advance.

Aug 3, 2010 at 5:54 PM
I have found my problem. I had removed the try/catch statement and that's because the validation didn't work.