I get random errors in an application written with doodads.
SelectCommand.Connection property has not been initialized
or
Not finding a column after filling and trying to sort.
Error:
Exception Details: System.IndexOutOfRangeException: Cannot find column CUSTOMER_VEHICLEID.
stack..
System.Data.DataTable.ParseSortString(String sortString) +602
System.Data.DataView.CheckSort(String sort) +22
System.Data.DataView.set_Sort(String value) +118
WebVize.DAL.BusinessEntity.set_Sort(String value)
management.Controls.TestdrivemanagerControl.FillData(Int32 TestDriveID)
management.Controls.TestdrivemanagerControl.DataGrid1_SelectedIndexChanged(Object sender, EventArgs e)
System.Web.UI.WebControls.BaseDataList.OnSelectedIndexChanged(EventArgs e) +108
Refresh and it is all ok..
for a few times and then again the same error..
Anyone has an idea where to search for the problem..
Is there any caching involved??
This is a major problem
Kind regards,
Michael
