Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
We are running Power BI Report Server (January 2022). We have a Power BI report where the data source is a DB2 database. It imports approximately 5 GB of data. This report has been uploaded to our Power BI Report Server development environment. We set up the data source with Basic Authentication and it connects successfully. We then set up a scheduled refresh and it runs for 10 minutes and then fails with this error:
Data source error: Login failed for data source
[0] -33333333333: DataSource.Error: Microsoft Db2 Client: Processing was cancelled due to an interrupt. SQLSTATE=57014 SQLCODE=-952. DataSourceKind = DB2. DataSourcePath = BD33333;MyDB. Message = Processing was cancelled due to an interrupt. SQLSTATE=57014 SQLCODE=-952. ErrorCode = 0. . The exception was raised by the IDbCommand interface.
I increased the query timeout value from 1800 to 3600 seconds and it still fails. Please let me know what solutions are available to get this data refresh to finish successfully.
Solved! Go to Solution.
Hi @Lorenz33 ,
I am sorry that I cannot reproduce your situation. It seems to me that in Power Bi Service not need to be adjusted, if it is due to a timeout setting in Power BI Service, it will simply report an error timeout instead of Processing was cancelled due to an interrupt. Related link below, there are the same users who encountered the same problem If you have the same problem, you can refer to the linked solution to change the DB2 timeout or disable timouts:
Best Regards
Lucien
Hi @Lorenz33 ,
If the application sets a query timeout value, it will stop the execution of the statement if it exceeds the timeout resulting in a SQL0952N error.
And details solution to resolve the problem,refer the following links:
https://www.ibm.com/support/pages/sql0952n-error-returned-long-running-sql-statement
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Thanks Lucien. The attached article looks very helpful. Does anything need to be done on the Power BI Report Server side? The article explains to increase the query timeout interval on the different application types. Within Power BI Report Server I went to site settings and under report timeout I changed the value to 3660 seconds from 1800 to allow the report to run before timing out. This would be one hour and the scheduled refresh fails after 10 minutes.
Hi @Lorenz33 ,
I am sorry that I cannot reproduce your situation. It seems to me that in Power Bi Service not need to be adjusted, if it is due to a timeout setting in Power BI Service, it will simply report an error timeout instead of Processing was cancelled due to an interrupt. Related link below, there are the same users who encountered the same problem If you have the same problem, you can refer to the linked solution to change the DB2 timeout or disable timouts:
Best Regards
Lucien
The part of the error that says "Processing was cancelled due to an interrupt" looks to me like it's probably coming from DB2. Have you talked to your DB2 DBAs to see if they can assist with this? It could be some sort of resource governing on the DB2 side of things
I spoke with the DB2 DBA and he said that there is no timeout value set up on the DB2 side and there is nothing in the DB2 logs related to the query being interupted or timing out.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
6 | |
4 | |
3 | |
2 |
User | Count |
---|---|
14 | |
10 | |
5 | |
3 | |
3 |