View Issue Details

IDProjectCategoryView StatusLast Update
0000824HeurekaGeneralpublic2026-10-02 08:00
Reporteradmin Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Summary0000824: User Submitted Report
DescriptionEmail from: Bugtracker Heureka <bugtracker.heureka@slu.se>

Originally sent by: Lollo<lk22ea@student.lnu.se>

Can not load in data its missing, it says something with columns

--- Exception ---
System.InvalidOperationException: The given ColumnMapping does not match up with any column in the source or destination.

--- Stack Trace ---
   at System.Data.SqlClient.SqlBulkCopy.AnalyzeTargetAndCreateUpdateBulkCommand(BulkCopySimpleResultSet internalResults)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
   at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServer(DataTable table, DataRowState rowState)
   at Slu.Heureka.DomainLayer.ResultHandling.InitialStateDb.bulkCopyTableToDb(DataTable table, DBBase db)
   at Slu.Heureka.DomainLayer.ResultHandling.InitialStateDb.SaveSimulation(InitialState simulation, DataSet results, DataTable siteDataTable, DataTable predictionUnitTable, DataTable treatmentUnitTable)
   at Slu.Heureka.DomainLayer.ResultHandling.InitialState.Save()
   at Slu.Heureka.DomainLayer.ResultHandling.UI.GenerateInitialStateCommand.generateInitialState()
   at Slu.Heureka.BaseLayer.HeurekaForms.ProgressForm.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
TagsNo tags attached.
ProductGeneral

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-10-02 08:00 admin New Issue