Server Error in '/' Application.

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

Source Error:


Line 42:         int id = Convert.ToInt32(Request.QueryString["ID"]);
Line 43:         V5_SimilareContent suggestions = new V5_SimilareContent(id, (int)Section, Count, null, (new Languages()).CurrentLanguage.ISOLanguageName);
Line 44:         DataTable dt = suggestions.ToDataTableWithExtra();
Line 45:         rptSimilarContents.DataSource = dt;
Line 46:         rptSimilarContents.DataBind();

Source File: C:\Inetpub\vhosts\sakhteman.com\httpdocs\Skin\stacklite_2020_sakhteman\webparts\SimilarContents.ascx.cs    Line: 44

Stack Trace:


[ArgumentException: Column 'Slog' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +3107933
   System.Data.DataRow.get_Item(String columnName) +18
   Toranj.BusinessLogic.V5_SimilareContent.ToDataTableWithExtra() in D:\MyProjects\TORANJCMS\TORANJCMS-V5\BussinessLogicV5\Content\sp\V5_SimilareContent.Extended.cs:62
   SimilarContents.BindRptSimilarContents() in C:\Inetpub\vhosts\sakhteman.com\httpdocs\Skin\stacklite_2020_sakhteman\webparts\SimilarContents.ascx.cs:44
   SimilarContents.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\sakhteman.com\httpdocs\Skin\stacklite_2020_sakhteman\webparts\SimilarContents.ascx.cs:37
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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