Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 20:   <head>
Line 21:     <meta charset="utf-8">
Line 22:     <title> مازندنومه :@HtmlRemoval.StripTagsRegex(title)</title>
Line 23:             <meta http-equiv="X-UA-Compatible" content="IE=edge" />
Line 24: 

Source File: c:\inetpub\Host\mazandnume.com\www\rcLayouts\_rcFullContent_01.cshtml    Line: 22

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   HtmlRemoval.StripTagsCharArray(String source) +8
   ASP._Page_rcLayouts__rcFullContent_01_cshtml.Execute() in c:\inetpub\Host\mazandnume.com\www\rcLayouts\_rcFullContent_01.cshtml:22
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +251
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +98
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +184
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +121
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +326
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +122
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +87
   System.Web.WebPages.WebPageBase.PopContext() +348
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +141


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4210.0