0

I am trying to run a report in SSRS 2016. After running the report, it throws "Maximum request lenght exceeded".

So, I've found a possoble solution as to put "maxRequestLenght" into web.config file in Report Server directory.

I've changed this line to the following:

<httpRuntime executionTimeout="9000" requestValidationMode="2.0" maxRequestLenght="10000" />

and restarted the Reporting Services service (in Reporting Services Configuration Manager).

After restart I am trying to run the report again and I am getting "HTTP 500 The website cannot display the page"

enter image description here

Restarting SQL, rerstarting SSRS, restarting Windows didnt help

SS_DBA
  • 2,403
  • 1
  • 11
  • 15
djmysz
  • 1
  • I'm guessing you're trying to send a large number of values for a multivalue parameters? URLS have a maximum length, and it sounds like you're exceeding that. – Thom A May 23 '19 at 09:38
  • So what is the maximum value? I've even put maxRequestLenght="10" and it still crashes :( – djmysz May 23 '19 at 09:42
  • [What is the maximum length of a URL in different browsers?](https://stackoverflow.com/q/417142/3484879) – Thom A May 23 '19 at 09:45
  • Thanks for this, but it isn't really helpful. maxRequestLengh="1" also causes error. No matter what value I put there, it crashes – djmysz May 23 '19 at 09:56
  • 2
    Could it be that `maxRequestLenght="10000"` `maxRequestLength` is spelled wrong? – SS_DBA May 23 '19 at 12:03
  • It is from Microsoft site, letter by letter – djmysz May 23 '19 at 14:51

0 Answers0