EnjoySharePoint YouTube Channel

The page was not displayed because the request entity is too large asp.net error

Sometimes you will get this error in IIS 7.5 and windows server 2008 R2. The error message is “The page was not displayed because the request entity is too large“.
Sometimes also you will get the script error like below:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.  The status code returned from the server was: 413
The error may come:
– When you upload a large file from your web page
– When you submit web page of large content
To resolve this we have to increase uploadReadAheadSize in applicationHost.config file on IIS7.5.
For this:
Locate appcmd.exe in \windows\system32\inetsrv folder and run following command on command line tool
 appcmd.exe set config -section:system.webserver/serverruntime/uploadreadaheadsize: 1048576 /commit:apphost
You can also manually increase by opening the IIS.
Also, you can check out my previous posts on:
Check out Best Alternative to InfoPath -> Try Now
You May Also like the Following SharePoint Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →