Hello,
After discussing the topic of compression here (4.4.1 serious problem - WebForm_PostBackOptions is undefined), I thought that everything was solved and working.
Unfortunately, on my new clean-fresh DNN 4.4.1 install (same with my dev, an upgraded from 4.3.7 --> 4.4.0 --> 4.4.1), I have the following bug: impossible to download a file deposited in a repository if compression is ON. In such case, I click download, and nothing is happening (the window for downloading appear, but nothing happens). I found a "general exception" and "page load exception" in the log viewer. My compression parameter are the following:
and my exceptions are the following:
2/2/2007 9:51:37 AM Page Load Exception Declic AssemblyVersion: 04.04.01; PortalID: 0; PortalNa ... |
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: Declic Video FX | Hollywood FX | Pinnacle Studio | Vitascene | Heroglyph | Adorage | proDAD
UserID: 3
UserName: Declic
ActiveTabID: 60
ActiveTabName: DNN
RawURL: /DNN.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://declic-video-fx.com/DNN.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 04ee9f42-89cd-43a0-addc-bd201d68465d
InnerException: Server cannot append header after HTTP headers have been sent.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.AppendHeader
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Server cannot append header after HTTP headers have been sent. ---> System.Web.HttpException: Server cannot append header after HTTP headers have been sent.at System.Web.HttpResponse.AppendHeader(String name, String value)at DotNetNuke.HttpModules.Compression.CompressingFilter.WriteHeaders()at DotNetNuke.HttpModules.Compression.DeflateFilter.Write(Byte[] buffer, Int32 offset, Int32 count)at DotNetNuke.HttpModules.Compression.WhitespaceFilter.Write(Byte[] buffer, Int32 offset, Int32 count)at System.Web.HttpWriter.Filter(Boolean finalFiltering)at System.Web.HttpResponse.Flush(Boolean finalFlush)at System.Web.HttpResponse.Flush()at DotNetNuke.Modules.Repository.RepositoryBL.StreamFile(String FilePath, String DownloadAs)at DotNetNuke.Modules.Repository.RepositoryBL.DownloadFile(String ItemID)at DotNetNuke.Modules.Repository.Repository.lstObjects_ItemCommand(Object source, DataGridCommandEventArgs e)at System.Web.UI.WebControls.DataGrid.OnItemCommand(DataGridCommandEventArgs e)at System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e)at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)at System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e)at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Name: ULTIMAHO-IW8E90
|
|
2/2/2007 9:51:37 AM General Exception Declic AssemblyVersion: 04.04.01; PortalID: 0; PortalNa ... |
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: Declic Video FX | Hollywood FX | Pinnacle Studio | Vitascene | Heroglyph | Adorage | proDAD
UserID: 3
UserName: Declic
ActiveTabID: 60
ActiveTabName: DNN
RawURL: /DNN.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://declic-video-fx.com/DNN.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 754bec1d-1ed1-43f3-916d-ee02a21fc8e2
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.Redirect
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Cannot redirect after HTTP headers have been sent.at System.Web.HttpResponse.Redirect(String url, Boolean endResponse)at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL)at DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e)at System.Web.UI.TemplateControl.OnError(EventArgs e)at System.Web.UI.Page.HandleError(Exception e)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)at System.Web.UI.Page.ProcessRequest()at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)at System.Web.UI.Page.ProcessRequest(HttpContext context)at ASP.default_aspx.ProcessRequest(HttpContext context)at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--- End of inner exception stack trace ---
Source:
Server Name: ULTIMAHO-IW8E90
|
|
I have logged it into Gemini, since I reproduced the problem on 2 different systems (sorry if it is not a good idea, but this is not the first time that someone ask me to log something into Gemini).
If I remove compression, it works without any problem. I also tried to change the file in the repository, no success. Conclusion: I am not working with compression OFF, which is a pity, because compression speed up the site, it's incredible !!!
DV FX