Server Error in '/' Application.

This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.

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.

Exception Details: System.Data.RowNotInTableException: This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[RowNotInTableException: This row has been removed from a table and does not have any data.  BeginEdit() will allow creation of new data in this row.]
   System.Data.DataRow.GetDefaultRecord() +118
   System.Data.DataRow.get_Item(Int32 columnIndex) +25
   TrakitAPI.Preferences.ProcessIncomingDataset(DataSet adsIncoming, SQL_Operation aiSQL_Operation) +1005
   TrakitAPI.Preferences.AddAll() +301
   TrakitAPI.Prmry.get_Preferences() +74

[TrakitAPIException: Rethrown Exception]
   TrakitAPI.Prmry.get_Preferences() +121
   TrakitAPI.Permit.SubGroupCaptions(SubGroup aiSubGroup) +43
   Search_Permit.PermitTabs(Group aiGroup, Permit aoPermit, String asDetails, Int32 aiTabIndex) +4172
   Search_Permit.PermitDetails(String asPermitNo, String asActiveTab) +1557
   Search_Permit.Page_Load(Object sender, EventArgs e) +2761
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0