Server Error in '/' Application.

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

Source Error:


Line 35:             icid = Convert.ToInt32(dtcate.Rows[0]["icid"]);
Line 36:           
Line 37:             iid = Convert.ToInt32(dtcate.Rows[0]["iid"]);
Line 38:             numitems = WEB.Items.getnumitems("", new string[0], WEB.Common.mod_content, icid.ToString(), lang, "", "1");
Line 39:             t_web = this.catename;

Source File: c:\HostingSpaces\congtytrungthanh.com.vn\congtytrungthanh.com.vn\wwwroot\home\content\util\default\u_content_cate.ascx.cs    Line: 37

Stack Trace:


[ArgumentException: Column 'iid' does not belong to table Table.]
   System.Data.DataRow.GetDataColumn(String columnName) +6035112
   System.Data.DataRow.get_Item(String columnName) +14
   home_news_default_u_news_cate.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\congtytrungthanh.com.vn\congtytrungthanh.com.vn\wwwroot\home\content\util\default\u_content_cate.ascx.cs:37
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   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.4690.0