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 65:                 itms.FilterBySubCategory = idsc;
Line 66:                 SubCategory sbc = new SubCategory(DbCnx, idsc);
Line 67:                 StrPageLink = sbc.UrlLink+"/";
Line 68:                 FldH1.InnerText = sbc.Category;
Line 69:                 FldH2.InnerText = sbc.Description;

Source File: C:\inetpub\wwwroot\www.millearomi.it\products.aspx.cs    Line: 67

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +8461074
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement) +105
   leem.WEB.ShoppyCore.SubCategory.get_UrlLink() +104
   millearomi.products.LoadItems() in C:\inetpub\wwwroot\www.millearomi.it\products.aspx.cs:67
   millearomi.products.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\www.millearomi.it\products.aspx.cs:46
   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.4690.0