Server Error in '/' Application.

Value cannot be null.
Parameter name: value

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: value

Source Error:


Line 439:            && Cache[GlobalNaming.Cache_Dictionary(Lang)] == null)
Line 440:        {
Line 441:            Cache.Add(GlobalNaming.Cache_Dictionary(Lang), Dictionary.GetDictionaryList(Lang), null, System.Web.Caching.Cache.NoAbsoluteExpiration, System.Web.Caching.Cache.NoSlidingExpiration, System.Web.Caching.CacheItemPriority.NotRemovable, null);
Line 442:        }
Line 443:        #endregion

Source File: d:\wwwroot\HotelRefah\hotelrefah.com\wwwroot\App_Code\GeneralAppCodes.aspx.cs    Line: 441

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: value]
   System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic, CacheInternal cache) +10027624
   System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +94
   System.Web.Caching.AspNetCache.Add(String key, Object item, CacheInsertOptions options) +112
   System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback) +149
   GeneralAppCodes..ctor(Int32 ModuleId, GenAppColumns GenCols) in d:\wwwroot\HotelRefah\hotelrefah.com\wwwroot\App_Code\GeneralAppCodes.aspx.cs:441
   GeneralAppCodes..ctor(Int32 ModuleId) in d:\wwwroot\HotelRefah\hotelrefah.com\wwwroot\App_Code\GeneralAppCodes.aspx.cs:256
   _Default.PagePreLoad() in d:\wwwroot\HotelRefah\hotelrefah.com\wwwroot\Default.aspx.cs:28
   _Default.Page_Load(Object sender, EventArgs e) in d:\wwwroot\HotelRefah\hotelrefah.com\wwwroot\Default.aspx.cs:22
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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