Error message

B

bbawa1

m getting this error when I run my asp application. I couldn't figure
out where is the problem.
Failed to enable constraints. One or more rows contain values
violating non-null, unique, or foreign-key constraints

this.Adapter.SelectCommand = this.CommandCollection[0];
Line 763: dsnew.tbTicketsDataTable dataTable = new
dsnew.tbTicketsDataTable();
Line 764: this.Adapter.Fill(dataTable);
Line 765: return dataTable;
Line 766: }
 
E

Eliyahu Goldin

As the error says, you have some constraints set in your dataset schema and
the data you are trying to insert or update violate the constraints. Check
your data or relax your constraints.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top