Why do I get the error message ‘Exception Details: System.Web.HttpException: Cache is not available ‘

Platform: ASP.NET|Category: Output Caching

Try using ‘HttpContext.Current.Cache’ instead of just ‘Cache’ in your code. The compiler probably wasn’t able to resolve the Cache type.