Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Failed to enable constraints. One or more rows contain v
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01273622
Message ID:
01274083
Views:
13
Yassin,

>I have two business objects with a parent child relationship which binds to two different mmgridview, but somehow I get the following message
>
>"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."

There are quite a number of problems that will cause this error to appear. Often it's because you have a constraint on a database table and the data that you are retrieving is invalid--incorrect maximum length, invalid key values, and so on. I recommend looking carefully at the data you are returning and examining your database constraints to see where the problem is.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform