Server Error in '/' Application.

Value cannot be null.
Parameter name: input

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.ArgumentNullException: Value cannot be null.
Parameter name: input

Source Error:


Line 488:    public static string strip_tags(string HtmlContent)
Line 489:    {
Line 490:        return Regex.Replace(HtmlContent, @"<(.|\n)*?>", string.Empty);
Line 491:    }
Line 492:    public static string getAppPath()

Source File: c:\SOURCE_WEB\VIENLE\trunk\dichvumaytinhhcm\App_Code\System\Common.cs    Line: 490

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +118
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement) +102
   Common.strip_tags(String HtmlContent) in c:\SOURCE_WEB\VIENLE\trunk\dichvumaytinhhcm\App_Code\System\Common.cs:490
   en._getMetaTag(String title, String keywords, String description) in c:\SOURCE_WEB\VIENLE\trunk\dichvumaytinhhcm\vn.aspx.cs:32
   en.getMetaTag() in c:\SOURCE_WEB\VIENLE\trunk\dichvumaytinhhcm\vn.aspx.cs:139
   en.Page_Load(Object sender, EventArgs e) in c:\SOURCE_WEB\VIENLE\trunk\dichvumaytinhhcm\vn.aspx.cs:226
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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