SSRS report times out even though Report Server settings are set to “Do not timeout report”
-
SSRS report times out even though Report Server settings are set to “Do not timeout report”
Posted by DSC Communities on February 1, 2019 at 11:27 am-
Rudy Salcedo
MemberFebruary 1, 2019 at 11:27 AM
?Over a year ago we tried changing our Report Server settings so thatĀ reports would run to completion instead of timing out after 10 minutes.Ā Despite making those changes, reports would still timeout after 10 minutes.Ā To get around that problem, I ended up changing the specificĀ reports to run in “pre-process mode” by changing the data provider class to specify that it extends the SrsReportDataProviderPreProcess class.Due to monthend, today we have an urgent situation where a much-needed report is timing out, and we’re unable to make the necessary pre-process changes without having to do a code release to our PRD environment.Ā Currently I have the Report Server Site Settings and the report’s Processing Options set to “Do not timeout report”.
The report still times out after 10 minutes.
Any other quick suggestions for allowing this report to complete without timing out?
——————————
Rudy Salcedo
Senior Programmer/Analyst
LaForce, Inc
Green Bay WI
—————————— -
Hi Rudy,
usually, the first thing to check when SSRS reports start timing out with AX 2012, is the class that generates that specific report.Ā Code changes can be performed to optimize report processing and prevent that 10 minute query timeout.Ā However, it can happen that the report is already optimized and still runs over that 10 minute default limit because of data volume or other factors that could impact run time.Ā That’s when I usually go and specify a longer QueryServiceEndpoint sendTimeout value to allow reports to complete without error.Ā In order to do so, just take an AXC file that contains information to connect to the desired environment and copy it to the report server’s bin directory (usuallyĀ C:Program FilesMicrosoft SQL ServerMSRS11.<INSTANCE>Reporting ServicesReportServerbin).Ā Note that the MSRSXX can vary based your version of SSRS. Make sure to rename the config file to exactlyĀ Microsoft.Dynamics.AX.ReportConfiguration.axc.Ā Edit the file with a text editor and look for the QueryServiceEndpoint binding, then the sendTimeout property next to it.Ā By default, it will be 00:10:00 (10 minutes) but you can change it to whatever value you find acceptable for a decent report run.
Let me know if that solves your issue!
Best regards,
——————————
Yvan Charbonneau
Director of Information Systems and Supply Chain
Laboratoire Riva Inc
Blainville QC
——————————
——————————————- -
Suba Velpuri
MemberFebruary 6, 2019 at 1:02 PM
Are you pulling this reports from a temp table? try changing it to regular table.——————————
Suba Velpuri
Hefty Seed Company
——————————
——————————————- -
Rudy Salcedo
MemberFebruary 12, 2019 at 9:49 AM
?Ā Thanks for the suggestion.Ā I would like to try that in one of our development or test environments first.Ā The SQL Server folder structure on those servers looks like this:Ā Ā Ā Ā Ā Ā Ā Ā Ā
?
There are 3 “bin” subfolders within the folder structure.Ā Should I put the .AXC file in the bottom bin folder?——————————
Rudy Salcedo
Senior Programmer/Analyst
LaForce, Inc
Green Bay WI
——————————
——————————————- -
, it looks like you don’t have the SSRS subfolders on that server.Ā The custom AXC file needs to reside in the ReportServerBin folder of the SSRS instance used for your AX environment.
Best regards,
?
——————————
Yvan Charbonneau
Senior Director of Information Systems and Supply Chain
Laboratoire Riva Inc
Blainville QC
——————————
——————————————- -
Rudy Salcedo
MemberFebruary 12, 2019 at 11:01 AM
? OK thanks.Ā We do have that folder structure on our production report server, so I’ll just have to go ahead and try it there.Ā I’ll let you know the results.Ā Thanks!?——————————
Rudy Salcedo
Senior Programmer/Analyst
LaForce, Inc
Green Bay WI
——————————
——————————————- -
Rudy Salcedo
MemberFebruary 21, 2019 at 9:56 AM
– ?I followed your instructions to increase the sendTimeout parameter from 10 to 30 minutes in our PRD environment and the report no longer times out.Ā I ran it about a dozen times and the runtimes ranged betweenĀ 11Ā and 20+ minutes.Ā Thanks for your help!——————————
Rudy Salcedo
Senior Programmer/Analyst
LaForce, Inc
Green Bay WI
——————————
——————————————- -
that’s great news!Ā Glad to see you solved your issue.
Best regards,?
——————————
Yvan Charbonneau
Senior Director of Information Systems and Supply Chain
Laboratoire Riva Inc
Blainville QC Canada
——————————
——————————————-
DSC Communities replied 6 years, 7 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘SSRS report times out even though Report Server settings are set to “Do not timeout report”’ is closed to new replies.