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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorydownload link in repository dosndownload link in repository dosn't work!
Previous
 
Next
New Post
2/21/2007 5:32 AM
 

Hi, I'm getting what seems similar. Files were uploaded from module. I'm running 4.4.1 and latest Repository on WinXP Pro with local server. Am using IE latest. When I try and download, the little green progress bar at the bottom advances very slowly but never reaches the end.

I had a look in the log and at the time of the download attempt there are 2 entries added. First is a Page Load Exception and next (logged at xactly the same time) is a General Exception. Contents of the first are included below.

AssemblyVersion: 04.04.01
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 73
ActiveTabName: Deliverable Repository
RawURL: /dnn/ClientNET/J07006NHIMPCECKRBusinessCase/DeliverableReviews/tabid/73/Default.aspx
AbsoluteURL: /dnn/Default.aspx
AbsoluteURLReferrer: http://localhost/dnn/ClientNET/J07006NHIMPCECKRBusinessCase/DeliverableReviews/tabid/73/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Tablet PC 1.7; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4e16ea71-8f96-4a5c-8704-0cc37d553488
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: JPARKER27-1

 
New Post
2/21/2007 7:13 AM
 
turn off compression, including whitespace filter and your downloads will work
 
New Post
2/21/2007 7:28 AM
 
Yep, that fixed it in my local development environment. But I can't afford the performance hit of turning those things off on my production environment that is a shared hosted service. Is there no other way? Is a fix in the pipeline or available? If not, I'm not going to be able to use this module unfortunately.
 
New Post
2/21/2007 10:36 AM
 

Jeff,
First, just to be clear, this has nothing to do with the Repository Module, you're going to have the same problem with the Documents module, the file manager, and other modules as well. it's an issue with the new Compression component included in 4.4.1, using the default configuration out of the box, that is causing the issue.

You can check this thread
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/54/threadid/99660/scope/posts/Default.aspx

maybe changing the whitespace regex expression and adding some exclusion types will allow you to get some value from compression without sacrificing the functionality of a number of modules.

 
New Post
2/22/2007 6:24 AM
 
Hi Steve, many thanks for your note - much appreciated. I have changed my devel setup as per the thread you suggested (except the whitespace chnage, which I found was not needed) and downloads work just fine! Many thanks.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorydownload link in repository dosndownload link in repository dosn't work!


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