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 60: 				  rdmmg.Read()
Line 61: 				   
Line 62: 				  If (IsDBNull(rdmmg("foto")) = True) then
Line 63: 					response.Redirect("https://filoweb.it/gallery.aspx")
Line 64: 				  else

Source File: \\smb-whst-www11\whst_www11$\8b7246544.hostnd\htdocs\www\galleria2015\fotografia.aspx    Line: 62

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1247823
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +14
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +28
   ASP.galleria2015_fotografia_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in \\smb-whst-www11\whst_www11$\8b7246544.hostnd\htdocs\www\galleria2015\fotografia.aspx:62
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


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