K
Ken
I am doing a pretty basic Fill() call to a SqlDataAdapter
filling a DataTable. The Fill() call throws a
ConstraintException, but the message is extremely
ambiguous. I get the ever-cryptic message, "Failed to
enable constraints. One or more rows contain values
violating non-null, unique, or foreign-key constraints."
Does anyone know where to begin debugging such a problem
with over 300 columns? I wish it would provide more useful
information such as which constraint and what value
violated it.
filling a DataTable. The Fill() call throws a
ConstraintException, but the message is extremely
ambiguous. I get the ever-cryptic message, "Failed to
enable constraints. One or more rows contain values
violating non-null, unique, or foreign-key constraints."
Does anyone know where to begin debugging such a problem
with over 300 columns? I wish it would provide more useful
information such as which constraint and what value
violated it.