GetPagebyName
System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value) at dataFuncs.GetPagebyName(String n) in m:\domains\thesuffolkgroup.com\wwwroot\App_Code\VBCode\dataFuncs.vb:line 78
n=associates
pageID=associates
/associates.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.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=associates
pageID=associates
/associates.html