GetPagebyName
System.InvalidOperationException: Invalid attempt to read when no data is present. at System.Data.SqlClient.SqlDataReader.CheckDataIsReady(Int32 columnIndex, Boolean allowPartiallyReadColumn, Boolean permitAsync, String methodName) at System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) at System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i) at System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at dataFuncs.GetPagebyName(String n) in C:\HostingSpaces\Beaconhillgrouplive\App_Code\VBCode\dataFuncs.vb:line 76
n=communityefforts
pageID=communityefforts
/communityefforts.htmlpage_load
System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at System.Web.HttpResponse.End() at common.EmailError(String strPage, String strFunction, String strError, String strOther, Boolean bolSend, Int32 intLogType) in C:\HostingSpaces\Beaconhillgrouplive\App_Code\VBCode\common.vb:line 21 at dataFuncs.GetPagebyName(String n) in C:\HostingSpaces\Beaconhillgrouplive\App_Code\VBCode\dataFuncs.vb:line 82 at pages.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\Beaconhillgrouplive\pages.aspx.cs:line 59
page=communityefforts
pageID=communityefforts
/communityefforts.html