If you are trying to upload files to SharePoint and are using Windows Server 2008 with IIS 7, there’s one additional step you need to make to your environment other than the typical Large File changes needed.
Basically, any file over 28mb will error out upon uploading. The dreaded "The page cannot be displayed". Ugh. Luckily, the solution is rather simple (as long as your environment is already configured for large file support… see post: SharePoint Large File Upload Configuration). You need to add another setting to your web.config to support the maximum allowed content length (maximum size of a file that you support).
- To change it: navigate to the SharePoint webapplication directory, by default: inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder
- You need to add the following configuration to your config file:
The length that you add needs to be in bytes, and needs to match the file size that you want to upload. For example, I’m using 158334976 bytes here because in Central Admin I have maximum file upload size set to 150mb. For a utility to convert bytes, see this post.
Make sure that you set this a little larger than what you have configured in SharePoint… that way your users will still get an error message stating that they are exceeding the file size limit.