This is a discussion on Failed to enable constraints problem... within the C# Programming forums, part of the Software Development category; Hi I face this problem "Failed to enable constraints" when working with Adapter. Can anybody help me to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi I face this problem "Failed to enable constraints" when working with Adapter. Can anybody help me to solve this problem Thanks in Advance
__________________ "GP_Logesh..." Last edited by gp_logesh : 12-27-2007 at 04:56 AM. Reason: Misspelled |
| Sponsored Links |
| |||
| If you get the following Error, Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. Route cause for this problem was, some of the fields used in the Adapter violates the rules set in the table or the values (results) returned by the query\stored procedure violates the rule(constraint), So please check each field - columns in the Adapter control and the value passed to the Adapter
__________________ J.Saravanan |
| |||
| Important thing :If u r using Table Adapter ..if the Column/Field allows null value...that will throws exception Data type other than the String/Varchar....u must take care of that columns... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TF30177: Team Project Creation Failed | arjkhanna | Server Management | 2 | 01-31-2008 08:34 AM |
| What is data integrity? Explain constraints? | sundarraja | Database Support | 1 | 01-18-2008 04:41 AM |
| Communication Made Easier - How to overcome Constraints? | subbitss | Technology BUZZzzzzz | 0 | 08-07-2007 08:46 AM |
| Is it possible to enable the javascript in the Iframe Tag? | bluesky | HTML, CSS and Javascript Coding Techniques | 0 | 07-16-2007 12:26 AM |
| diffrence between and constraints and triggers | sivakumar | Database Support | 1 | 07-12-2007 04:00 AM |