Server Error in '/ElaphWeb' 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 18: 
Line 19:         Dim regex As New System.Text.RegularExpressions.Regex("<[^>]+>")
Line 20:         Return regex.Replace(text, String.Empty)
Line 21:     End Function
Line 22: 

Source File: E:\Elaph\Templates\Archive.aspx    Line: 20

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +72
   ASP.Archive_aspx.RemoveHtmlTags(String text) in E:\Elaph\Templates\Archive.aspx:20
   ASP.Archive_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in E:\Elaph\Templates\Archive.aspx:35
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1926


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032