Value cannot be null.<br>Parameter name: key

Server Error in '/' Application.

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

Source Error:


Line 30: 
Line 31:         public void Remove(string key) {
Line 32:             _workContext.HttpContext.Cache.Remove(key);
Line 33:         }
Line 34: 

Source File: f:\inetpub\vhosts\meritlink.com\httpdocs\Modules\Orchard.OutputCache\Services\DefaultCacheStorageProvider.cs    Line: 32

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: key]
   System.Web.Caching.CacheKey..ctor(String key, Boolean isPublic) +11950290
   System.Web.Caching.AspNetCache.Remove(String key, CacheItemRemovedReason reason) +57
   Orchard.OutputCache.Services.DefaultCacheStorageProvider.Remove(String key) in f:\inetpub\vhosts\meritlink.com\httpdocs\Modules\Orchard.OutputCache\Services\DefaultCacheStorageProvider.cs:32
   Orchard.OutputCache.Services.CacheService.RemoveByTag(String tag) in f:\inetpub\vhosts\meritlink.com\httpdocs\Modules\Orchard.OutputCache\Services\CacheService.cs:43
   Orchard.OutputCache.Filters.OutputCacheFilter.OnResultExecuted(ResultExecutedContext filterContext) in f:\inetpub\vhosts\meritlink.com\httpdocs\Modules\Orchard.OutputCache\Filters\OutputCacheFilter.cs:396
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +189
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +448
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +448
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +448
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +659
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +42
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +44
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +25
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) in d:\Builds\OrchardFull\src\Orchard\Mvc\Routes\ShellRoute.cs:159
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


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