2010-01-15 19 views

Respuesta

15

En OutputCacheAttribute también debe especificar el parámetro VaryByParam. De lo contrario, obtendrá esta excepción en el procesamiento de resultados System.Web.HttpException: The directive or the configuration settings profile must specify the 'varyByParam' attribute. Puede intentar agregar este parámetro y ver si funciona.

+5

Para aclarar: '[OutputCache (Duration = 36000, VaryByParam =" ")]'. ¡Gracias Branislav, esto también me está volviendo loco! – mynameiscoffey

Cuestiones relacionadas