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:
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\MSRS11.MSSQLSERVER\ReportingServices\ReportServer and edit the web.config file:
The simplest way of editing the file is to use Notepad:
Scroll down the web.config file and find the following line:
<httpRuntime executionTimeout="9000" />
Replace it with the following:
<httpRuntime executionTimeout="9000" maxRequestLength="20690" />
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 (you may need to wait a short time for SQL Server Reporting Services to cycle, before the deploy will successfully resume:
Microsoft Dynamics GP Utilities
Business Intelligence reports were not deployed
Error DetailsThe deployment has exceeded the maximum request length allowed by the target server. Set maxRequestLength="20690" in the web.config file and try deploying again.