I am trying to upload files to my Sharepoint 2010 server running on IIS 7 through the sharepoint client object model. The problem I discovered is the file size limit, a very ... limit. I have read quite a few posts on this subject, and it seems that I am facing a problem that is different from the ones I found earlier. After some experimentation and trying different methods, I finally found that the restriction that I am pressing right now is related to the following configuration setting in my web.config:
<system.web> <httpRuntime maxRequestLength="2097151" /> </system.web>
It was originally installed at 51,000 or so. I tried to set the value to 2 gigabytes, which I saw elsewhere at the theoretical maximum for the value, but when this is done, the site will not load, and the returned error indicates that the valid range for this parameter is 0-2097151. I am wondering if there is somewhere else this maximum allowed range? It seems strange that it is so low, it basically limits the download of any file that I could provide to be only 2 megabytes, which is less than the SharePoint upload limit of 50 megabytes.
iis sharepoint configuration
Mark
source share