We are using CS in our enterprise to host some large files (e.g. > 20 mb) and kept having trouble with CS failing during both upload and/or download of these files. I did some online research after adjusting every possible timeout and runtime settings in IIS and CS and I came up with the following solution in the CS_2.1.60809.935_SDK that solved the problem.
Here are other changes made as well that I made that you may or may not need to make:
With these changes I can support upload and download of files up to the size defined in the maxRequestLength without any unexpected results for the File Galleries application. I am not sure all of these changes are required, but I wanted to give the CS folks something to start with since I haven't seen this solution anywhere else in the community.
Many thanks! I'll try it on my cs!
We are upgrading to CS2007 and we noticed the bug was still there for uploading attachments / files that are larger than 20mb. The following changes were made in the SDK to upload files up to 90mb.
Add the following to web.config inside the <system.web> section to keep IIS from timing out for 5 minutes and allowing for large file support to 90mb:
<
Change line 320 of \source\Components\Configuration\AttachmentSettings.cs from
TransmitFile doens't load the entire file in memory before transmitting ... here is a reference http://blogs.msdn.com/irenak/archive/2006/04/12/574936.aspx.
Thanks a lot for this. Exactly what I needed.
Hello,
I have CS2007 installed and files over 25 MB cannot be downloaded. IE goes to blank page.
Stupid question, how do I integrate your suggested changes? I unzipped the SDK to ../Program Files/...
I can alter the lines you describe but I still get the download error. I have been trying to cure this for a few weeks now any advice will helpful
Many thanks, Jurgen
You have to compile the SDK using Visual Studio then copy the dll files from the bin directory over to your installation bin directory .... if you don't know what I am talking about then STOP and find an experienced developer to help you so you don't make any unintentional mistakes.
Good luck
ok, gotcha. I haven't changed any application sources code as of yet. I created a custom theme. Any chance I can copy someones correct DLL? (to save myself time in VS2005).I hope Telligent will fix this bug. There are more reports out there that folks can't download large files. I can upload no problem, because I added a line to the web.config file.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com