Server Error in '/support' Application.

Column 'to_id' does not belong to table Table1.

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 'to_id' does not belong to table Table1.

Source Error:


Line 166:                    If dsr.Tables(0).Rows.Count > 0 Then
Line 167:                        Dim rrow As System.Data.DataRow = dsr.Tables(0).Rows(0)
Line 168:                        Dim new_id As String = rrow("to_id")
Line 169:                        Dim to_url = "/support/helpweb/helpweb.aspx/" & new_id & "/" & Helpweb.getTitleAndProduct(new_id)
Line 170:                        Response.StatusCode = 301

Source File: E:\Inetpub\wwwroot\support\helpweb\helpweb.aspx    Line: 168

Stack Trace:


[ArgumentException: Column 'to_id' does not belong to table Table1.]
   System.Data.DataRow.GetDataColumn(String columnName) +6029180
   System.Data.DataRow.get_Item(String columnName) +14
   ASP.helpweb_helpweb_aspx.Page_Load(Object sender, EventArgs e) in E:\Inetpub\wwwroot\support\helpweb\helpweb.aspx:168
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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