Pages

Monday, October 28, 2013

"maxRequestLength" Error while deploying Reporting Services for MS Dynamics GP

Error Statement:
"The deployment has exceeded the maximum request length allowed by the target server. Set maxRequestLength = "20690" in the web.config file and try deploying again."

Solution:
To modify the Report Server Web.config file:
1. Create a backup copy of the web.config file located in the ReportServer folder.
(by default The ReportServer folder is located in C:\Program Files\Microsoft SQL
Server\MSSQLSERVER\Reporting Services\ReportServer, where Reporting
Services is installed.)
2. Open the Report Server web.config file using a text editor, such as Notepad.
3. Search for <httpRuntime executionTimeout="9000" />.
4. In that line, change executionTimeout=”9000” to executionTimeout=”19000”
and add the value maxRequestLength="20960".
(<httpRuntime executionTimeout="19000" maxRequestLength="20960"/>
5. Save and close the Report Server web.config file.

Remember no other other will be accepted as maxRequestLength other than "20960" 

Enjoy :)

No comments: