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: c:\inetpub\wwwroot\Orchard.Web\Modules\Orchard.OutputCache\Services\DefaultCacheStorageProvider.cs    Line: 32

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: key]
   System.Web.Caching.Cache.Remove(String key) +4656378
   Orchard.OutputCache.Services.DefaultCacheStorageProvider.Remove(String key) in c:\inetpub\wwwroot\Orchard.Web\Modules\Orchard.OutputCache\Services\DefaultCacheStorageProvider.cs:32
   Orchard.OutputCache.Services.CacheService.RemoveByTag(String tag) in c:\inetpub\wwwroot\Orchard.Web\Modules\Orchard.OutputCache\Services\CacheService.cs:43
   Orchard.OutputCache.Filters.OutputCacheFilter.OnResultExecuted(ResultExecutedContext filterContext) in c:\inetpub\wwwroot\Orchard.Web\Modules\Orchard.OutputCache\Filters\OutputCacheFilter.cs:396
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +244
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +720
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +40
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) in c:\Orchard\src\Orchard\Mvc\Routes\ShellRoute.cs:159
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288


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