Server Error in '/' Application.

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

Source Error:


Line 61:                     ds = objBlog.get_id_byBlogCAttitle()
Line 62:                     If ds.Tables(0).Rows.Count > 0 Then
Line 63:                         id = Convert.ToInt32(ds.Tables(0).Rows(0)("SUBCAT_ID").ToString())
Line 64:                         Server.Transfer("listblogs.aspx?subcatid=" + Convert.ToString(id))
Line 65:                     Else

Source File: D:\InetPub\vhosts\cogniter.com\Cogniter.com\urlsearch.aspx.vb    Line: 63

Stack Trace:


[ArgumentException: Column 'SUBCAT_ID' does not belong to table Table.]
   System.Data.DataRow.GetDataColumn(String columnName) +6035112
   System.Data.DataRow.get_Item(String columnName) +14
   Cogniter.urlsearch.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\cogniter.com\Cogniter.com\urlsearch.aspx.vb:63
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   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