I'm a newbie and hoping that someone can help me with a problem that I am having. I have written a WinForms app to upload documents to Sharepoint 2010 document library using client object model. It works great unless the file is more than 3MB. The error
returned is "The remote server returned an error (400) Bad Request". The files are being uploaded from my local machine to the SharePoint 2010 site. I searched the internet for 2 days trying to find a solution to this without any joy. I have tried increasing
the maxRequestLength and executionTimeout in web.config. The program uses a file stream to put the file in a btye array which then becomes the content of a filecreationinformation object. As I said, it loads files OK if they are less than 3MB, so I think
that the code is OK. The max document size in SharePoint is 50mb.
I really need some help please....
View Complete Post