Hello everyone,
I'm debugging an HttpModule with an ASP.NET response filter. This dynamically rewrites portions of rendered SharePoint WCM pages. The publishing pages render fine in SP2007 on both Server 2003 and Server 2008. However the equivalent pages fail to render in SP2010 B2 on Server 2008 R2 / IIS7. The following error is returned by ASP.NET:
Post cache substitution is not compatible with modules in the IIS integrated pipeline that modify the response buffers. Either a native module in the pipeline has modified an HTTP_DATA_CHUNK structure associated with a managed post cache substitution callback, or a managed filter has modified the response.
This error is consistent with KB #2014472. However:
- Caching is disabled for anonymous & authenticated access at the site collection level
- There do not appear to be any Substitution controls on either the master or layout page
- The IIS 7 settings are all stock default
This is happening e.g. on /pages/default.aspx. It seems likely I'm missing something cache related...but what?