Server Error in '/' Application.

Column 'PK_DugdhSaritaId' does not belong to table .

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.ArgumentException: Column 'PK_DugdhSaritaId' does not belong to table .

Source Error:


Line 29:         {
Line 30:             dtIDissue = BLL.IndianDairyman.GetIndianDairymanByIsCurrent("1");
Line 31:             iIssueNo = Convert.ToInt32(dtIDissue.Rows[0]["PK_DugdhSaritaId"]);
Line 32:         }
Line 33: 

Source File: c:\inetpub\vhosts\indairyasso.org\indiandairyassociation.org\httpdocs\DS-Index.aspx.cs    Line: 31

Stack Trace:


[ArgumentException: Column 'PK_DugdhSaritaId' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +6932116
   System.Data.DataRow.get_Item(String columnName) +17
   ID_Index.SetPage() in c:\inetpub\vhosts\indairyasso.org\indiandairyassociation.org\httpdocs\DS-Index.aspx.cs:31
   ID_Index.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\indairyasso.org\indiandairyassociation.org\httpdocs\DS-Index.aspx.cs:19
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811


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