HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepository(Edited)HELP!! Error occur during download in the portal(Edited)HELP!! Error occur during download in the portal
Previous
 
Next
New Post
1/11/2007 5:05 AM
 

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.





 
New Post
1/11/2007 7:14 PM
 

steve,

I have apply the content to the compression.config and all the problems have been solve.^^

Thanks again for your information and hope that this thread can help other else who face the same problem like me.

 
New Post
1/11/2007 7:31 PM
 

HiHi,

I just retest the problem and i realize that the problem can be easily solve by commenting this statement in web.config.

<!-- add name="Compression" type="DotNetNuke.HttpModules.Compression.HttpModule, DotNetNuke.HttpModules.Compression" / -->

The other step is unnecessary.

 
New Post
3/31/2009 2:42 AM
 

i am doing all steps which tell in this thread to solve my same problem but it does not solve

i am using dnn 4.9 source  and donwload on my custome module

 

please anybody tell how to solve that problem

thanks advance

 
New Post
8/19/2009 1:28 PM
 

I am having this issue as well.

I have a file that is 10.4MB in size and the repository uploads fine but always downloads just 10.2MB and the file downloaded is corrupt.  I can go to the repository directory on the server and the file is fine.  I can even download another smaller file < 1MB and it is fine.

I have disabled my whitespace filter, commented out the necessary line within the web.config, and configured IIS 6.0 to not use compression of any kind, but I am still getting this issue.

Not sure what else I can do. 

I am using DNN 04.08.04 , Repository 03.01.15, IIS 6.0

Any ideas?

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepository(Edited)HELP!! Error occur during download in the portal(Edited)HELP!! Error occur during download in the portal


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Try An Online Demo
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.