StrataFrame Forum

constraint error

http://forum.strataframe.net/Topic30203.aspx

By Eric Leissler - 7/26/2011

hi ,

on a sample project  i mad a form with a combo box and some textbôx

this project has two monht

today i open this project and

i woud like to add a column to my combobox, but wen i ckick on the propertie

populationdatasourcesetting,

i have this error

ConstraintException
  La colonne 'value' doit être unique. La valeur 'agenda.bo_adresse' est déjà présente.

Source     : System.Data

Stack Trace:
   à System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
   à System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
   à System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
   à System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
   à MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜂ()
   à MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜁ(Object A_0, EventArgs A_1)


Have you an idea ??

thanks

best regard

Eric LEISSLER
By Michel Levy - 7/26/2011

Hi Eric,

check your project, you may have referenced twice the same assembly. First, check in Project References if the exe of the project itself is not referenced.