Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Object Generator
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01444100
Message ID:
01444217
Views:
35
Kevin,

Here is the full stack trace:
System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
   at System.Data.DataSet.FailedEnableConstraints()
   at System.Data.DataSet.EnableConstraints()
   at System.Data.DataSet.set_EnforceConstraints(Boolean value)
   at System.Data.DataTable.EndLoadData()
   at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
   at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   at OakLeaf.MM.Main.Data.mmDataAccessSql.FillDataSet(DataSet ds, IDbDataAdapter dbAdapter, String tableName, Boolean clearOnFill)
   at OakLeaf.MM.Main.Data.mmDataAccessSql.FillDataSet(DataSet ds, IDbCommand command, String tableName, Boolean clearOnFill)
   at OakLeaf.MM.Main.Data.mmDataAccessSql.FillDataSet(DataSet ds, String command, String tableName, CommandType cmdType, IDbDataParameter[] dataParms, Boolean clearOnFill)
   at OakLeaf.MM.Main.Business.mmBusinessObject.FillDataTable(DataSet ds, String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] cmdParams)
   at OakLeaf.MM.Main.Business.mmBusinessObject.FillDataSet(DataSet ds, String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] cmdParams)
   at OakLeaf.MM.Main.Business.mmBusinessObject.GetEntityList[T](String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] dataParams)
   at OakLeaf.MM.Main.Business.mmBusinessObject.GetEntityList[T](String command, String tableName, String databaseKey, IDbDataParameter[] dataParams)
   at OakLeaf.MM.Main.Business.mmBusinessObject.GetEntityList[T](String command, String tableName, IDbDataParameter[] dataParams)
   at OakLeaf.MM.Main.Business.mmBusinessObject.GetEntityList[T](String command, IDbDataParameter[] dataParams)
   at Bpit.TradeMgmt.Business.VExtTradePrice.GetTradesByHeaderID(Int32 importHeaderID) in C:\MMApps\TradeMgmt\TradeMgmtBusiness\VExtTradePrice\VExtTradePrice.cs:line 65
   at Bpit.TradeMgmt.Business.IQFileProcess.ProcessIQFile(Int32 importHeaderID) in C:\MMApps\TradeMgmt\TradeMgmtBusiness\Imports\IQFileProcess.cs:line 204
   at Bpit.TradeMgmt.ImportAndProcessRidge.Program.Main(String[] args) in C:\MMApps\TradeMgmt\Console\ImportAndProcessRidge\Program.cs:line 143
>Can you post the full stack trace here?
>
>Best Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform