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 653:        End If
Line 654:        Dim desc As String
Line 655:        desc = Regex.Replace(posttitle, "<.*?>", [String].Empty)
Line 656:        Dim illegalChars As Char() = "!@#$%^&*(){}[]""_+:;<>?/".ToCharArray()
Line 657:        ' Dim str As String = "to## remove' all"" special^& characters from string"

Source File: C:\Inetpub\vhosts\zbynet.com\httpdocs\blognewsdetails.aspx.vb    Line: 655

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +7100022
   blognewsdetails.redirect() in C:\Inetpub\vhosts\zbynet.com\httpdocs\blognewsdetails.aspx.vb:655
   blognewsdetails.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\zbynet.com\httpdocs\blognewsdetails.aspx.vb:404
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


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