Error “Maximum request length exceeded" in Reporting Services
If you ever find the following error in Reporting Services after uploading a file or creating a new subscription:
“Maximum request length exceeded"
There is a simple reason for that:
The default value of the property MaxRequestLength is 4 Mb. When you upload a report or create a subscription, if the report size is higher than this value, you will bump into this error.
In order to increase this value, you can modify this property under the httpruntime element in the file Web.config of the Report Manager (%\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\ReportManager) and in the Report Server (%\Program Files\Microsoft SQL Server\MSSQL.X\Reporting Services\ReportServer).
Then, you will have to restart the RS service before trying again.
By default, the property MaxRequestLength doesn´t exist in the config files. To modify it you would have to add it to the section. For example:
<httpRuntime ... maxRequestLength="10240" .../>
To define the right value, you could export the file and check its size. More information in the following link:
Report Size and Limits
https://msdn.microsoft.com/en-us/library/aa237805(SQL.80).aspx
Maria Esteban
Reporting Services Support Engineer
Comments
Anonymous
May 15, 2014
Thank you for posting this. It fixed the problem for me!!Anonymous
August 18, 2015
if report size is increased in the sense what about report performance . Whether it effect report performance.Anonymous
December 03, 2015
The comment has been removedAnonymous
December 23, 2015
Thank you very much!! It really helped me!