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 166:    Public Shared Function RemoveHTML(ByVal inputValue As String) As String
Line 167:
Line 168:        Return Regex.Replace(inputValue, "<(.|\n)+?>", String.Empty, RegexOptions.IgnoreCase)
Line 169:
Line 170:    End Function

Source File: E:\WebHosting\NMC\NMC\Site\App_Code\utilities.vb    Line: 168

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +8150372
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +106
   Utilities.RemoveHTML(String inputValue) in E:\WebHosting\NMC\NMC\Site\App_Code\utilities.vb:168
   _UserControls_BenefitDetails.Page_Load(Object sender, EventArgs e) in E:\WebHosting\NMC\NMC\Site\_UserControls\BenefitDetails.ascx.vb:18
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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