cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SagarSalvi
Frequent Visitor

Lookup error for session ID using report server DB or API

Hi,

 

We are using SSRS APIs to create refresh plan schedule for PBIX report on PBI report server. And we get the last run status but it does not return details.

Data Refresh failed, contact the administrator, SessionId: dd13d7bf-56ef-4eed-865a-de6f67d3a50e.

We do have the session ID and if we search for it in report server logs then we find the details. Also we can see details if we go to refresh plan details on report server UI. 

Details in SSRS log:
Data Refresh failed, contact the administrator, SessionId: dd13d7bf-56ef-4eed-865a-de6f67d3a50e. 

Details in refresh plan UI:

SagarSalvi_1-1668562506641.png

 

 

But we want to show this info on our web application. We already tried searching report server DB (tables, executionlog views, etc) for these details but did not find any thing. 

Where can we find these information/details other than reporting services logs? Any API or DB table?

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @SagarSalvi ,

 

Can you find specific error messages in the following log files?

SSRS Log Files for Troubleshooting (mssqltips.com)


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, thank you for looking at this issue. 
As I mentioned we do see detailed error in SSRS logs. However we want to display this detailed error in our application. We cannot read SSRS logs via code right, we are looking for any SSRS API or if this info is available in RS DB. Note: we do not provide access to report server UI to end users. So they cannot see the detailed error shown in screenshot above.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.