Windows 2008, IIS 7.0, and SharePoint large file uploads

by Oscar 17. May 2009 20:10

You probably have experienced these symptoms when attempting to upload files larger than 30MB on SharePoint.  In addition to standard SharePoint settings via the Central Administration for your Web Application, you have to set the allowed on the web.config file.  What would be nice, is that when you change those settings, the web.config file also adds the section below if it does not exist.

Single File Upload via Document Library
You get a 404 page.

Single or Multiple File Upload/Copy/Paste using open with Windows Explorer
The file begins uploading but then towards the end you get the following error:

Could not find this item

This is no longer located in C:\filepath. Verify the item’s location and try again.

Multiple File Upload via Document Library
You don’t get error messages, but the file is not showing up on your doc lib

SOLUTION

Add the following code to the <configuration> section of the Web.config file:

<system.webServer>
	<security>
		<requestFiltering>
			<requestLimits maxAllowedContentLength="52428800"/>
		</requestFiltering>
	</security>
</system.webServer>

Now go crazy uploading large files into SharePoint! Your DBAs may not like you after that :)

Cheers,
Oscar

Tags:

Comments

6/11/2009 4:45:44 AM #

I think the fix to 30 mg was this article...

Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE"
http://support.microsoft.com/kb/942074/

André Lage Portugal | Reply

6/15/2009 3:20:05 AM #

This is brillant, exactly what i'm looking for, Thank you very much.

RK Bommini Australia | Reply

6/21/2009 4:46:46 AM #

I will say in spite of opening the limits for all the pages of WSS ..trying using a location tag and restricting it for  particular page you are using to upload the files

Sandeep | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About Oscar

Oscar Medina - SharePoint Solutions Architect

I am a SharePoint Solutions Architect and Managing Partner at SharePointAce Consulting Group, LLC.  I have over 13 years of software development experience. 

Previously a Consultant at Microsoft Consulting Services (MCS) North West Region with focus on the SharePoint Products and Technologies Platform.  I have been involved with SharePoint since it's first version (SharePoint 2001) and have grown more gray hair providing solutions ever since :)

Author of the CQWP – Recurring Calendar Events at http://cqwprce.codeplex.com

 

Follow SharePointAce on Twitter! Follow me on Twitter.


Contributor to the book:

 

Occasional Speaker at SharePoint Saturday - SharePoint Saturday

RecentComments

Comment RSS