I've just updated a mvc 2 project to mvc 3 . I have the following attribute on my controller: [OutputCache(NoStore =true, Duration = 0, VaryByParam = "*")] this gives me the following exception : Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.
If I remove the attribute it's fine, but I need this attribute to prevent caching in this controller.
any ideas?