Server Error in '/' Application.

Key cannot be null.
Parameter name: key

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: Key cannot be null.
Parameter name: key

Source Error:


Line 55: 		//Redirects.Add("", "");
Line 56: 
Line 57: 		return "" + (Redirects.ContainsKey(OldPath) ? Redirects[OldPath] : "~/fa");
Line 58: 	}
Line 59: }

Source File: c:\inetpub\vhosts\behipet.com\httpdocs\Error404.aspx.cs    Line: 57

Stack Trace:


[ArgumentNullException: Key cannot be null.
Parameter name: key]
   System.Collections.Hashtable.ContainsKey(Object key) +14510895
   RedirectPages.GetNewPath(String OldPath) in c:\inetpub\vhosts\behipet.com\httpdocs\Error404.aspx.cs:57
   Error404.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\behipet.com\httpdocs\Error404.aspx.cs:10
   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.4700.0