Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.58 KB | None | 0 0
  1. Server Error in '/' Application.
  2.  
  3. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
  4.  
  5. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  6.  
  7. Exception Details: System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
  8.  
  9. Source Error:
  10.  
  11.  
  12. Line 16498:                dataTable.Clear
  13. Line 16499:            End If
  14. Line 16500:            Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
  15. Line 16501:            Return returnValue
  16. Line 16502:        End Function
  17.  
  18. Source File: C:\Users\arowland\AppData\Local\Temp\2\Temporary ASP.NET Files\root\5f99f8eb\ad88133\App_Code.uk2jszqr.32.vb    Line: 16500
  19.  
  20. Stack Trace:
  21.  
  22.  
  23. [ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.]
  24.    System.Data.DataSet.EnableConstraints() +526
  25.    System.Data.DataSet.set_EnforceConstraints(Boolean value) +76
  26.    System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +391
  27.    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +219
  28.    System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +160
  29.    System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +108
  30.    dsReportTLCTableAdapters.spTLCEfficiencyNonTxBreakdownTableAdapter.Fill(spTLCEfficiencyNonTxBreakdownDataTable dataTable, String FacilityID, Nullable`1 StartDate, Nullable`1 EndDate) in C:\Users\arowland\AppData\Local\Temp\2\Temporary ASP.NET Files\root\5f99f8eb\ad88133\App_Code.uk2jszqr.32.vb:16500
  31.    wsJBSReports.TLCEfficiencyNonTxBreakdown(String FacID, DateTime StartDate, DateTime EndDate) in C:\Source\Andrew\JBSReports\App_Code\wsJBSReports.vb:1946
  32.    Reports_Report.Page_Load(Object sender, EventArgs e) in C:\Source\Andrew\JBSReports\Report.aspx.vb:897
  33.    System.Web.UI.Control.OnLoad(EventArgs e) +92
  34.    System.Web.UI.Control.LoadRecursive() +54
  35.    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
  36.  
  37. Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement