Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
SagarSalvi
Helper I
Helper I

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.