web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Deployment Server Has Exceeded The Maximum Request Length Error Deploying Reports To SSRS

Ian Grieve Profile Picture Ian Grieve 22,784

When Reporting Tools Setup is used t deploy the reports to SQL Server Reporing Services an error be produced if the default configuration of SSRS has not been amended (I thought I’d blogged about this error before, but when trying to find it to send the post to someone I couldn’t find it).

The error produced is the following:

 Microsoft Dynamics GP – 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.

The change needed to allow the Microsoft Dynamics GP reports to be deployed is a very simple one to make.

Open the install folder of SQL Server Reporting Services (which for SQL Server 2012 is %programfiles%\Microsoft SQL Server\11.MSSQLSERVER\ReportingServices\ReportServer and edit the web.config file:

Windows Explorer - ReportServer

The simplest way of editing the file is to use Notepad:

How do you want to open this file?

Scroll down the web.config file and find the following line:

<http Runtime executionTimeout="9000" />

Replace it with the following:

<http Runtime executionTimeout="9000" maxRequestLength"20690" />
web.config - Notepad

Save the file and restart the deploy and the reports should now redeploy.

If you have made the change at the error message, you may see the following error report; hit Retry and it should continue (yo may need to wait a short time for SQL Server Reporting Services to cycle, before the deploy will successfully resume:

Microsoft Dynamics GP Utilities

Show/Hide Error Message

Microsoft Dynamics GP Utilities

Business Intelligence reports were not deployed

Error Details

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.


This was originally posted here.

Comments

*This post is locked for comments