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 15: 	  Function StripTags(ByVal html As String) As String
Line 16:         ' Remove HTML tags.
Line 17:         Return Regex.Replace(html, "<.*?>", "")
Line 18:     End Function
Line 19: 	

Source File: C:\siti\assoricambi.it\pages\it\associati_dettaglio.aspx.vb    Line: 17

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +5370255
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement) +46
   it_associati_dettaglio.StripTags(String html) in C:\siti\assoricambi.it\pages\it\associati_dettaglio.aspx.vb:17
   it_associati_dettaglio.Page_Load(Object sender, EventArgs e) in C:\siti\assoricambi.it\pages\it\associati_dettaglio.aspx.vb:50
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975