Hi Folks
As you know, starting from AX 2009 was possible to use the SSRS Report instead of the Morphx Reports.
In the last weeks, I faced an issue during the Report Deployment. The error was:
Unable to connect to http://server/ReportServer/ReportService2005.asmx as specified in the config file for the report server at C:\…\RSReportServer.config. If this url is not correct please update the config file, otherwise make sure the report server is configured correctly.
I went through the Microsoft link https://blogs.msdn.microsoft.com/emeadaxsupport/2010/01/20/proxy-settings-can-interfere-dynamics-ax-2009-report-deployment/, but without luck.
Therefore, after some investigation and with help of Microsoft Support, I have fixed the issue.
Below what verify in priority order:
1- Check if the Antivirus is enabled and in detail the Real-time scan. Disable it or create the relative rules
2- Extend timeout settings
a. Report Manager->Site settings->Report Execution Timeout->select “do not timeout report execution”.
b. Increase the Timeout, so:
i. Open “C:\Program Files\Microsoft SQLServer\MSSQL\ReportingServices\ReportManager\Web.config” and “C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\Web.config”
Search for httpRuntime executionTimeout="18000"
Search for httpRuntime executionTimeout="18000"
ii. Open “C:\Program Files\Microsoft SQL Server\MSSQL.4\Reporting Services\ReportServer\rsreportserver.config”
Search for:
Search for:
1. Add Key="SQLCommandTimeoutSeconds" Value="300"
2. Add Key="MaxActiveReqForOneUser" Value="60"
3. Add Key="DatabaseQueryTimeout" Value="300"
iii. Increase these values as above, Restart SSRS Services and then test it.
c. Update machine.config to speedup .net performance
i. In C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\MACHINE.CONFIG, replace processModel autoConfig="true" with processModel maxWorkerThreads="100" maxIoThreads="100" minWorkerThreads="50"
ii. In C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\WEB.CONFIG, locate the "system.web" Tag. Add the following as a child tag httpRuntime minFreeThreads="352" minLocalRequestFreeThreads="304" appRequestQueueLimit="5000"
Take care to make a backup of the configuration files before any modification!
Stay tuned!