CSV Export fails with OleDB exception


When trying to export routing records to a CSV file you get the following exception:
Unhandled Exception: System.Data.OleDb.OleDbException: The INSERT INTO statement contains the following unknown field na
me: 'RoutingRecordID'.  Make sure you have typed the name correctly, and try the operation again.
   at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] ba
tchCommands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCom
mands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable)
   at IpPbxImportRR.RoutingRecordsDSTableAdapters.RoutingRecordsTableAdapter.Update(RoutingRecordsDS dataSet)
   at IpPbxImportRR.ImportRR.DoExport()
   at IpPbxImportRR.ImportRR.Run()
   at IpPbxImportRR.Program.Main()
Closed Dec 8, 2008 at 7:26 PM by MartinH


wrote Dec 8, 2008 at 7:26 PM

Resolved with changeset 17557.

wrote Jan 21, 2013 at 6:39 PM

wrote May 13, 2013 at 7:53 PM