BorderLayoutBoxedLayoutOpenLayout Maximum textMedium textSmall text



Tuesday, 22 May 2012
   
News Search
08

 Ultra Video Gallery (UVG) turns your DotNetNuke (DNN) website into a mini-YouTube. 

Not only can you upload your own videos you can also integrate YouTube or any other video Social Networking website that uses the YouTube method of sharing videos.

This article covers the file upload limitation in DNN to allow UVG to upload files to about 2GB.

This problem occurs because by default in IIS 7 enabled requestFiltering that have MaxAllowedContentLength property. It specifies, in bytes, the maximum length of content in a request. The default is 30000000 (approximately 30 megabytes.)

If you are getting a maxAllowedContentLength error message when trying to load videos over about 30Mb into UVG you could turning off request filtering in IIS7 entirely.  That's if you run you own servers but it's better to keep the request filtering on but increase the maxAllowedContentLength .

This is how

  1. Go to c:\windows\system32\inetsrv\config\applicationHost.config and if not already done change

    <section name="requestFiltering" overrideModeDefault="Deny" />
    to
    <section name="requestFiltering" overrideModeDefault="Allow" />
  2. then add to your application's web.config:
    <system.webServer>
     <security>
            <requestFiltering>
              <requestLimits maxAllowedContentLength ="2147482624" /> <!-- value in bytes : this is just less than 2GB-->
            </requestFiltering>
          </security>
    <system.webServer>

That is it.

Posted in: DotNetNuke (DNN)

Post Rating

Comments

dnn blog
Saturday, 7 August 2010 7:10 PM
It would be nice to have an article about dynamic uploading, because changing the limitation will allow you to upload max 20mb files (connection break and just way to slow page load otherwise for end user)

Post Comment

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above in the box below


Privacy Statement | Terms Of UseCopyright 2007-2011 EDMEDiA Australia