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 79: 
Line 80:         var rgx = new Regex(pattern);
Line 81:         article.Text = rgx.Replace(article.Text, replacement);
Line 82:         #endregion
Line 83: 

Source File: d:\www\diatek_com_tr\mobil\ArticleDetail.aspx.cs    Line: 81

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +8457586
   yeni_ArticleDetail.Page_Load(Object sender, EventArgs e) in d:\www\diatek_com_tr\mobil\ArticleDetail.aspx.cs:81
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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