J
Jeff
I've been having this problem for weeks and its been stumping me. By
the way, Im working with MS SQL 2000, ASP.NET2 and Visual Studio 2005.
I am recieving an error, when executing a SELECT statement from an
ObjectDataSource thorugh a strongly typed DataSet DAL:
Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints.
There are no foreign key constraints on my database, and the data being
selected is neither null nor an identity. Actually, the error is only
thrown when one of the columns being returned contains a specific
value. Removing the column from the select statement or changing the
data to a different value causes the page to run properly.
My best guess is that VS05 is misconfiguring the DataSets. However,
I've tried (among lots of other things) deleting and rebuilding the
TableAdapters with the same error persisting.
Help please! Thanks!
Jeff
the way, Im working with MS SQL 2000, ASP.NET2 and Visual Studio 2005.
I am recieving an error, when executing a SELECT statement from an
ObjectDataSource thorugh a strongly typed DataSet DAL:
Failed to enable constraints. One or more rows contain values violating
non-null, unique, or foreign-key constraints.
There are no foreign key constraints on my database, and the data being
selected is neither null nor an identity. Actually, the error is only
thrown when one of the columns being returned contains a specific
value. Removing the column from the select statement or changing the
data to a different value causes the page to run properly.
My best guess is that VS05 is misconfiguring the DataSets. However,
I've tried (among lots of other things) deleting and rebuilding the
TableAdapters with the same error persisting.
Help please! Thanks!
Jeff