Receiving 404.13 errors on large file upload in WSS 3.0/SP2/IIS7
I am still receiving 404 errors during addition of larger files (~40MB) to my WSS 3.0/SP2 site. According to the IIS logs, the errors are POST 404.13 errors. I've set the maximum upload size to 100 MB in SharePoint Central Administration as well as added the following to C:\Inetpub\wwwroot\wss\VirtualDirectories\xxxxx\web.config immediately above the closing /configuration element as indicated in http://support.microsoft.com/kb/925083/: <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="524288000" /> </requestFiltering> </security> </system.webServer></configuration> I have also added the executionTimeout attribute as shown below in the same web.config file: <httpRuntime executionTimeout="999999" maxRequestLength="51200" /> as well as the executionTimeout attribute to the httpRuntime element in the upload.aspx location of ..\12\TEMPLATE\LAYOUTS\web.config: <httpRuntime executionTimeout="999999" maxRequestLength="2097151" />. Timeouts should not be an issue as the client is connect to the server by a gigabit LAN on the same network segment. The server is WS2008 SP2/x86. I have restarted the server and still cannot upload these files. Does anyone have suggestions? Thanks.
March 31st, 2010 4:24pm

Silly questions: implemented this change all servers hosting sharepoint? have you restarted your server(s)? Try uploading documents with varying file sizes: 1MB, 10MB, 25MB, 50MB
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2010 8:29pm

This is the only WSS server we have. I have rebooted the server. Smaller files can be uploaded by larger ones fail. I have a 22MB file that uploads and a 35MB file that does not. So I suspect that it has to do with the 28MB limit. Further, the 404.13 error in IIS indicates content is too large.
March 31st, 2010 8:46pm

Have you tried the documents via the explorer view?
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2010 9:05pm

Same failure in Explorer view for the large file.
March 31st, 2010 9:20pm

Hi, This problem occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file. You can refer to the following article to add a value that matches the size of the Content-Length header that the client sends as part of the request. By default, the value of the maxAllowedContentLength property is 30000000 bytes(almost 28 M). 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/default.aspx/kb/942074/en-us Hope this helps. Rock WangRock Wang MSFT
Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2010 11:01am

But didn't my change in web.config as outlined in http://support.microsoft.com/kb/925083/ as described in the original post do that? How does the ApplicationHost.config file relate to the web.config file?
April 2nd, 2010 7:16pm

My fault--I was changing the wrong web.config file.
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2010 1:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics