Server Error in '/' Application.

No data exists for the row/column.

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.InvalidOperationException: No data exists for the row/column.

Source Error:


Line 56: 
Line 57: 
Line 58:             If rdr("extra") = "print" Then
Line 59:                 stampa.InnerHtml = "<a href='stampa.aspx?id=" + CStr(rdr("id_page")) + "' onclick='targetBlank(this.href);return false;'>Versione stampabile <img src='images/stampa.gif' alt='' class='img_middle' /></a>"
Line 60:             End If

Source File: D:\inetpub\webs\meccanicavadeseit\page.aspx    Line: 58

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1033643
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +12
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +27
   ASP.page_aspx.page_load() in D:\inetpub\webs\meccanicavadeseit\page.aspx:58
   System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +8
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +8773843
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175