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 ForumsRepositoryRepositoryRepository download wonRepository download won't start, just sit there
Previous
 
Next
New Post
5/13/2009 3:36 PM
 

Hi, I'm sort of in an emergency mode about this now, but I upgraded the repository module to the latest version and now we don't seem to be able to download anything.  When a user clicks on a link it just sits there constantly waiting for the download to start, but it never does.  This is the error I get:

 

AssemblyVersion: 04.04.01
PortalID: 0
PortalName: WinDoor Incorporated
UserID: -1
UserName:
ActiveTabID: 91
ActiveTabName: XXXXX
RawURL: XXXXX
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: XXXXX
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4d09f384-90c1-46f5-ba96-b5f343e294e4
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 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, String target) 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 EVENT_ARGUMENT) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String EVENT_ARGUMENT) 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: XXXX

This error also seems to accompany it:

AssemblyVersion: 04.04.01
PortalID: 0
PortalName: XXXX
UserID: -1
UserName:
ActiveTabID: 91
ActiveTabName: XXXX
RawURL: XXXX
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: XXXX
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 65e741ce-a10f-49be-bb6b-c6a6bcb401bd
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: XXXX

 
New Post
5/13/2009 3:44 PM
 

It's caused by your site's compression settings....

Try this .. log in using your Host account. Go to the Host Settings page and under the compression section, try clearing the WhiteSpace compression checkbox. Save your changes, then click on Restart Application to recycle the app.

Now go try your downloads again and see it it works. If you still have problems, go back to the Host Settings page and turn off page compression, recycle your app and try again.

If after that you're still having issues, as a last resort, try commenting out the compression handler in your web.config file

Let me know if any of these steps solves your problem

 
New Post
5/13/2009 3:59 PM
 

I tried clearing the white space block out and now the site is getting a total error:

 

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.Compression.Settings.GetSettings() +649
   DotNetNuke.HttpModules.Compression.HttpModule.CompressContent(Object sender, EventArgs e) +213
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
5/13/2009 4:05 PM
 

I think I screwed up badly and cleared out the whitespae box instead of the white space checkbox.  Any advice on how to get things working again?

 
New Post
6/3/2009 4:00 PM
 

 

ok, the problem is that you cleared the textbox which defines the whitespace compression filter. What you should have done is just clear the checkbox labelled use Whitespace filter in the Performance Settings section of the page to disable it. You're getting the error because the code expects that text box to have some value even if WhiteSpace compression is not being used.

The compression settings are stored in a file named compression.config stored in the root folder of your DotNetNuke web site, and should look like this, use notepad to open compression.config and replace the contents with the following...

 

<?xml version="1.0" encoding="utf-8"?>
<compression>
  <excludedMimeTypes>
    <mimeType>image/gif</mimeType>
    <mimeType>image/jpeg</mimeType>
  </excludedMimeTypes>
  <excludedPaths>
    <path>install/install.aspx</path>
    <path>linkclick.aspx</path>
  </excludedPaths>
  <whitespace><![CDATA[(?<=[^])\t{2,}|(?<=[>])\s{2,}(?=[<])|(?<=[>])\s{2,11}(?=[<])|(?=[\n])\s{2,}]]></whitespace>
</compression>

 

That should do it. Go back into Host->Settings, open the Performance Settings section and clear the checkbox for use Whitespace filter. Click on Update, then Click on Restart Application.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryRepository download wonRepository download won't start, just sit there


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