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 25:         End While
Line 26:         objRdr.Close()
Line 27:         Page.Title = "Drumlish Parish: " & Regex.Replace(ttl, "<.*?>", "")
Line 28:         cnt = cnt + 1
Line 29: 

Source File: D:\Inetpub\vhosts\drumlishparish.ie\httpdocs\news_detail.aspx.vb    Line: 27

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +6993684
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement) +95
   news_detail.BindAllData() in D:\Inetpub\vhosts\drumlishparish.ie\httpdocs\news_detail.aspx.vb:27
   news_detail.Page_Load(Object sender, EventArgs e) in D:\Inetpub\vhosts\drumlishparish.ie\httpdocs\news_detail.aspx.vb:9
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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