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 543:        List<int> catIDs = new List<int>();
Line 544:        List<int> distinctedCatIDs = new List<int>();
Line 545:        if (Utility.DeserializeObject("VisitHistory") != null)
Line 546:        {
Line 547:            if (Utility.DeserializeObject("VisitHistory").Any())

Source File: c:\inetpub\vhosts\pszomorod.com\httpdocs\Product\Products.aspx.cs    Line: 545

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +612614
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +70
   Utility.DeserializeObject(String CookieName) +321
   Product_Products.LoadProducts() in c:\inetpub\vhosts\pszomorod.com\httpdocs\Product\Products.aspx.cs:545
   Product_Products.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\pszomorod.com\httpdocs\Product\Products.aspx.cs:228
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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