Hi,
When one of our users tried uploading a picture of size somewhere around 3 mb in the picture library, he received the above mentioned error. Initial solution that we found in the kb article was to increase the httpRuntime within our web site.
<httpRuntime maxRequestLength=”51200” />
maxRequestLength –
Optional Int32 attribute. Specifies the limit for the input stream buffering threshold, in KB. This limit can be used to prevent denial of service attacks that are caused, for example, by users posting large files to the server. The default is 4096 KB. If the threshold is exceeded, a ConfigurationErrorsException is thrown.
But as we can see it is already set to somewhere around 50mb so that shouldn’t be the problem.
Thankfully the solution for this was to open central administration site
Central Administration > Application Management > Web Application General Settings
Maximum Upload Size which was set to 2 mb to
desired value.
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

its always set to 50MB default.. so one might have changed in ur case to 2 MB
LikeLike
Thanks Snahta, ya it was set by one of the admin here.
I have corrected the post!!
LikeLike
Great post. Microsoft KB only tells you half of the solution: http://support.microsoft.com/kb/822059
LikeLike