I can not access dashboard

Nov 3, 2013 at 5:34 PM
By accessing the inside of the blog I can I can not access the dashboard tab, the problem has arisen after I delete a review posted that was spam.
This is the error report I get:

Ooops! An unexpected error has occurred.
This one's down to me! Please accept my apologies for this - I'll see to it that the developer responsible for this happening is given 20 lashes (but only after he or she has fixed this problem).
Error Details:
Url : http://***/admin/default.cshtml

Raw Url : /admin/default.cshtml

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.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContext context)

at System.Web.WebPages.WebPageHttpHandler.ProcessRequest(HttpContext context)

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.tntcsn5v

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

at System.Web.WebPages.HelperResult.WriteTo(TextWriter writer)

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

at ASP._Page_admin_default_cshtml.Execute() in e:*****\wwwroot\admin\default.cshtml:line 67

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

at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)

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)

How I can fix it?
Greetings and thanks in advance for the help.
Nov 4, 2013 at 2:25 PM
If this is the only tab you can't access, try to go straight to trash screen (/admin/Trash.aspx) and purge deleted entries. This might be an issue with spam comment corrupting post markup, as in XML version comments are stored withing post file itself. If admin doesn't work with this, you could open post using FTP and manually remove that comment.