Reputation: 2116
I have a rather old ASP.NET application targeting .NET Framework 4.5.2. The application worked fine on my development machine while I was using Visual Studio 2013. After switching to VS 2015 with Update 3, I started getting the following exception:
[InvalidOperationException: 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.] System.Web.HttpWriter.GetIntegratedSnapshot(Boolean& hasSubstBlocks, IIS7WorkerRequest wr) +5025795 System.Web.HttpResponse.GetSnapshot() +150 System.Web.Caching.OutputCacheModule.OnLeave(Object source, EventArgs eventArgs) +1091 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92
Upvotes: 0
Views: 242
Reputation: 887
Try to disable the Browser Link.
From Visual Studio, in the Browser Link dropdown menu, uncheck Enable Browser Link.
You can also do it in the Web.config file by simply adding
<add key="vs:EnableBrowserLink" value="false" />
Upvotes: 1