How to upload large files in dnn                 Print      Add Favorite     Add Watch     Contact Author

Creator: host   12/1/2011 1:44:21 AM    Author: Ken Grierson   Source: http://www.dotnetnuke.com/Resources/Blogs/EntryId/3222/Uploading-files-larger-than-30-Megabytes.aspx   Views: 544    0    0  
Tags:
Upload large files Dnn Dotnetnuke file upload


Posted by: Ken Grierson
11/15/2011 7:50 AM  

As we expand our QA into ever farther reaches of the DotNetNuke application and especially the dark secrets of Microsoft IIS 7 and 7.5 we run into those "Gotcha's" that would drive mortals slightly insane

 

 While testing for Content Staging and SharePoint Connector I discovered there's more than 1 governor of "Maximum File Size

This is not a surprise and fortunately if you need to have EXTRA large file uploads, > 30 Megabytes on a site all is not lost

 

 Here's the short hand way to accomplish that goal

 

You want to create this line:

requestLimits maxAllowedContentLength="512000000">

Logged into your Windows machine as Administrator or with an account having Administrator privileges: 

Start --> Run type or copy and paste - C:\Windows\System32\inetsrv\config

Hit Enter

Right click on applicationHost.config file and select "Open With"

Select "NotePad"

If "NotePad doesn't show up choose "Default Program" and find and select a text editor (ie - NotePad)

Find the node  and find this entry:

<./requestLimits>

Edit the value to be above your known or anticipated "Max File Upload"

 If   does not exist then ADD it AT THE TOP of the file.

 Save your changes to this file

 You will now be able to upload files

There is a Microsoft KB article if you need a reference point:

 http://support.microsoft.com/kb/942074/

You can also accomplish this same task IF you have "RequestFiltering" button available.

Click to open "RequestFilitering

Right click in the Main Window

 Select "Edit Feature Settings"

 Modify the value for "Maximum allowed content length (bytes)"

**********Please note that the value is stored and read out as BYTES************


Rating People: 2   Average Rating:     
Comment List:


  No Record 


Post your comment

Your Name: Required
Your Mail: Email is used only to display Gravatar
Your Site:
CAPTCHA image
Enter the code shown above in the box below
Comment Info:         

     DnnModule.com is build to provide quality modules and skins, Some of them are free,some not. We wish these stuffs( free or not ) can be useful to you.

    Besides that, We also provide a full range of professional services, ranging from web site build, seo, system management, administration, support, senior consultancy and security services.   We act as if your development project or network was ours, with care and respect. We are not satisfied until it works the way you want it to, and we don't silently ignore found issues as somebody else's problem.