Server Error in '/' Application.

Invalid use of response filter

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Invalid use of response filter

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Invalid use of response filter]
   System.Web.HttpResponseStreamFilterSink.VerifyState() +62
   System.Web.HttpResponseStreamFilterSink.Write(Byte[] buffer, Int32 offset, Int32 count) +13
   ICSharpCode.SharpZipLib.GZip.GZipOutputStream.WriteHeader() +156
   ICSharpCode.SharpZipLib.GZip.GZipOutputStream..ctor(Stream baseOutputStream, Int32 size) +89
   ICSharpCode.SharpZipLib.GZip.GZipOutputStream..ctor(Stream baseOutputStream) +10
   blowery.Web.HttpCompress.GZipFilter..ctor(Stream baseStream) +47
   blowery.Web.HttpCompress.HttpModule.GetFilterForScheme(String[] schemes, Stream output, Settings prefs) +638
   blowery.Web.HttpCompress.HttpModule.CompressContent(Object sender, EventArgs e) +484
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407