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() +1961137
   System.Data.DataRow.IsNull(DataColumn column) +21
   DAL.DataSet.ProductRow.get_DateUpdated() in D:\Documents\project\BgPortal_new\DAL\DataSet\MainDataSet.Designer.cs:2883
   BLL.Providers.ProductProvider.<GetLatestProducts>b__11(ProductRow product) in D:\Documents\project\BgPortal_new\BLL\Providers\ProductProvider.cs:67
   System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) +74
   System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) +16
   System.Linq.<GetEnumerator>d__0.MoveNext() +160
   System.Linq.<TakeIterator>d__40`1.MoveNext() +124
   BLL.Helpers.ProductHelper.CreateCollection(ProvidersFactory providersFactory, IEnumerable rows) in D:\Documents\project\BgPortal_new\BLL\Helpers\ProductHelper.cs:26
   BLL.Providers.ProductProvider.GetLatestProducts(Nullable`1 categoryId) in D:\Documents\project\BgPortal_new\BLL\Providers\ProductProvider.cs:76

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +72
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +371
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +480
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1960
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +50
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433