Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compression bugs with file download...Compression bugs with file download...
Previous
 
Next
New Post
2/2/2007 10:20 AM
 

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:

Compression parameter

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

 
New Post
2/2/2007 10:25 AM
 

Declic Video wrote
{...}
I have logged it into Gemini
{...}

You can find it here: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=4985

Thanks,
DV FX

 
New Post
2/2/2007 1:28 PM
 
This is not „only“ repository problem. It has something to do with portal aliases. I am always using default portal alias (the one used on first install) when I do my admin work on portal and I don’t see this error anymore.
 
New Post
2/3/2007 3:59 AM
 

JanDr wrote
This is not „only“ repository problem. It has something to do with portal aliases. I am always using default portal alias (the one used on first install) when I do my admin work on portal and I don’t see this error anymore.

Could you precise please ? I have not understood what you mean. Did you solve the problem ???
I think that I may avoid the problem using the mime/exclusion, but I do not know how...

DV

 
New Post
2/4/2007 2:32 PM
 

Anyone know how I could add a MIME exclusion for pdf ??? This should solve my problem, isn't it ??

 

DV

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compression bugs with file download...Compression bugs with file download...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out