Here's what I have done so far:
- Within SharePoint Central Admin > Application Management > Web Application General Settings I have set the Maximum Upload Size to 300MB and the Web Page Security Validation to 120 minutes.
- The web.config file in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS is set to:
<location path="upload.aspx"><system.web><httpRuntime executionTimeout="999999" maxRequestLength="2097151" /></system.web></location>
- The web.config file in C:\inetpub\wwwroot\wss\VirtualDirectories\80 is set to:
<httpRuntime executionTimeout="999999" maxRequestLength="512000" />
- Also, I have added the following to the web.config file in C:\inetpub\wwwroot\wss\VirtualDirectories\80:
<system.webServer><security><requestFiltering><requestLimits maxAllowedContentLength="524288000" /></requestFiltering></security></system.webServer>
If you want to attach large files to List then you need to change the following things
when ur uploading file into library it will redirect to upload.aspx page; coming to list its not redirecting to upload.aspx page. It will be in Editform.aspx page
so try to add the code in 12 hive web.config file as
<location path="editform.aspx">
<system.web>
<httpRuntime executionTimeout="999999" maxRequestLength="2097151" />
</system.web>
</location>
No comments:
Post a Comment