Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Report Against a System View

$
0
0

I am trying to write a report against the failed mail system views.

My UserID on the report server is on the msdb db, and i have added that user to the db_data_reader role in the db.  Granted select and view definition to the UserID appropriately in the msdb db.

The Report Rendering is not failing but the result set does not return.  In the management studio, I am logged in as a different user and get results without any problems.

I have also greanted select permissions to the UserID on all of the underlying sysmail....tables that could be utilized by the sysviews..

SYSMAIL_FAILEDITEMS,

SYSMAIL_EVENT_LOG


KDW


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>