GetPagebyName
System.InvalidOperationException: Invalid attempt to read when no data is present. at System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at dataFuncs.GetPagebyName(String n) in m:\domains\thesuffolkgroup.com\wwwroot\App_Code\VBCode\dataFuncs.vb:line 77
n=regcomp
pageID=regcomp
/regcomp.htmpage_load
System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at common.EmailError(String strPage, String strFunction, String strError, String strOther) in m:\domains\thesuffolkgroup.com\wwwroot\App_Code\VBCode\common.vb:line 21 at dataFuncs.GetPagebyName(String n) in m:\domains\thesuffolkgroup.com\wwwroot\App_Code\VBCode\dataFuncs.vb:line 84 at pages.Page_Load(Object sender, EventArgs e) in m:\Domains\thesuffolkgroup.com\wwwroot\pages.aspx.cs:line 45
page=regcomp
pageID=regcomp
/regcomp.htm