I have 2 servers, Server A contains ASP.net website and Server B contains SSRS. I have several reports that take long time to be fetched as data is big, now if I open these reports direct from SSRS Server B it take about 2 to 3 minutes then it open and it is okay for me, but my problem now is if I try to open the reports through ASP.Net website in Server A, I got below error after 2 minutes exactly: The remote server returned an error: (502) Bad Gateway.
I tried below solutions with no success :
- Increase DatabaseQueryTimeout in RSReportServer.config for Server B.
- Increase Connection time-out in Server A from 120 to 240.
- executionTimeout="9000" in web.config for Server A as below:
<httpRuntime enableVersionHeader="false" maxRequestLength="15360" executionTimeout="9000"></httpRuntime>
Any suggestions?