Error when clicking on "Dashboard Link" after I log in

Topics: ASP.NET 2.0
Jul 18, 2013 at 7:36 PM
When I click on the dashboard link I get the following error:
Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.

Source : System.Web.WebPages

StackTrace : at System.Web.WebPages.WebPageHttpHandler.HandleError(Exception e)

at System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

TargetSite : Boolean HandleError(System.Exception)

Message : Object reference not set to an instance of an object.

Source : App_Code.y7h40uop

StackTrace : at ASP.Helpers.DashboardHelper.b__18(TextWriter __razor_helper_writer)

at System.Web.WebPages.WebPageBase.Write(HelperResult result)

at ASP._Page_admin_default_cshtml.Execute() in d:\Websites\DainBentley.Me\admin\default.cshtml:line 67

at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

at System.Web.WebPages.WebPage.ExecutePageHierarchy()

at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

at System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext)

TargetSite : Void b__18(System.IO.TextWriter)

All other admin links seem to work. Has anyone else seen this before?