Server Error in '/' Application.

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

Source Error:


Line 125:    Private Sub SetPropName()
Line 126:        Dim PropertyName As String = ""
Line 127:        If Not IsDBNull(row("HISTORICNM")) Then
Line 128:            PropertyName = Trim(row("HISTORICNM").ToString)
Line 129:        Else

Source File: D:\mdah\Public\prop.aspx.vb    Line: 127

Stack Trace:


[ArgumentException: Column 'HISTORICNM' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +7107668
   System.Data.DataRow.get_Item(String columnName) +17
   prop.SetPropName() in D:\mdah\Public\prop.aspx.vb:127
   prop.Page_Load(Object sender, EventArgs e) in D:\mdah\Public\prop.aspx.vb:37
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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