This is a mirror of official site: http://jasper-net.blogspot.com/

Debugging: Failed to Enable Constraints

| Wednesday, November 24, 2010
I have a DataSet that has had a new field added to it recently. When my console application runs, it was throwing a “Failed to enable constraints” exception. I needed to find out which column in the DataSet was causing the error, so a co-worker suggested I create a temporary data adapter/set, so I can examine the GetErrors() method. Once the exception occurs, access the GetErrors() property using the Watch window. This will tell you exactly what your issue is.

Read more: GetErrors()

Posted via email from .NET Info

0 comments: