Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Who's running reports in SSRS 2005

Status
Not open for further replies.

codecomm

Programmer
Feb 14, 2007
121
US
We are trying to see if it's possible to see which users are running what reports.

When users hit a report, they have to enter their WIN credentials.

We do have the default switch is 3:

<!-- 1 = error, 2 = warning, 3 = info, 4 = verbose -->

<add name="DefaultTraceSwitch" value="3" />

...so we're getting the full log, and I see what reports are getting run, but wanted to see if there's a way to see who's running them.

Thanks!
 
I originally downloaded this pack from somewhere else (don't remember where, but I think it was in SQLMag), but it now seems to be a CodeProject...


It has everything you are asking and more.....Lots of useful data.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Here's the original location I used (finally found it)


=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Not followed the links but simply query a copy of the Execution Log table in teh ReportServer database - it records which user rand which report when, with what parameters and rendered into what format...

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
hey all!

Thanks for the threads...here's what I used:

SELECT cat.Name AS ReportName, cat.Description AS ReportDescription, cat.CreationDate, cat.ModifiedDate, ex.UserName, ex.Format, ex.TimeStart,
ex.Parameters
FROM ExecutionLog AS ex RIGHT OUTER JOIN
Catalog AS cat ON ex.ReportID = cat.ItemID
WHERE (cat.Type = 2) AND (ex.RequestType = 1) OR
(cat.Type = 2) AND (ex.RequestType = 0) AND (ex.Format = 'HTML4.0')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top