Server Error in '/' Application.

Column 'PAGE_SCF_NAME' does not belong to table CONTENT_DETAIL.

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 'PAGE_SCF_NAME' does not belong to table CONTENT_DETAIL.

Source Error:


Line 101:                    Class_CommonLibrary.ObjDataSet = Class_GeneralSection.GetRecordsFromTableForDataGrid(LStrSql, "CONTENT_DETAIL")
Line 102:                    If Class_CommonLibrary.ObjDataSet.Tables("CONTENT_DETAIL").Rows.Count > 0 Then
Line 103:                        LStrHitPageURl = Class_CommonLibrary.ObjDataSet.Tables("CONTENT_DETAIL").Rows(0).Item("PAGE_SCF_NAME")
Line 104:                    End If
Line 105:                    Class_CommonLibrary.ObjDataSet.Tables("CONTENT_DETAIL").Clear()

Source File: D:\InetPub\vhosts\cogniter.com\Cogniter.com\Includes\Authenticate.ascx.vb    Line: 103

Stack Trace:


[ArgumentException: Column 'PAGE_SCF_NAME' does not belong to table CONTENT_DETAIL.]
   System.Data.DataRow.GetDataColumn(String columnName) +6035112
   System.Data.DataRow.get_Item(String columnName) +14
   Cogniter.includes_Authenticate.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\cogniter.com\Cogniter.com\Includes\Authenticate.ascx.vb:103
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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