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 98: 
Line 99:                 var rgx = new Regex(pattern);
Line 100:                content = rgx.Replace(content, replacement);
Line 101:                #endregion
Line 102:                Regex regularyo = new Regex("\\[DHVIDEO\\=(.+?)\\]");

Source File: d:\www\diatek_com_tr\mobil\ProductDetail.aspx.cs    Line: 100

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +8457586
   yeni_ProductDetail.Page_Load(Object sender, EventArgs e) in d:\www\diatek_com_tr\mobil\ProductDetail.aspx.cs:100
   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