SQL Reporting Services Error – Maximum request length exceeded

When running or trying to create a large report in SSRS, you may come across an error stating the below: Error 2: There was an exception running the extensions specified in the config file. Maximum request length exceeded. It took us a while to figure this one out but it is actually very simple. After […]

SQL Reporting Services Error Maximum Request Length Exceeded
When running or trying to create a large report in SSRS, you may come across an error stating the below:
Error 2: There was an exception running the extensions specified in the config file. Maximum request length exceeded.
capture1 It took us a while to figure this one out but it is actually very simple. After speaking to our SQL and web development guys, it basically means that you are trying to pull more data than what the system is configured to allow. This is why you get the error, but it is simple to fix if you have a basic understanding of IIS. You need to amend the web.config file on the reporting server which you should find in the location below unless you have installed it elsewhere:
C:Program FilesMicrosoft SQL ServerMSSQL.12Reporting ServicesReportServer
Open the web.config file with notepad and then search for the following line:
<executionTimeout = “9000”>
After the 9000 text, you can add a maxRequestLength variable to allow more data to flow. 500000 equals 5mb:
<executionTimeout = “9000” maxRequestLength=”500000″ />
The IIS service then needs to be restarted, so you can either restart the reporting server or type “iisreset” into a command prompt on the server.

Comments

If you have any questions or comments about this guide, please feel free to leave a comment below using our comments system.
🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.