我遇到了几个订阅的问题,这些订阅在整个周末都失败了,而且我一直试图通过阅读详细的错误消息来确定原因,但每次谷歌搜索最终都会有人说请参阅服务器安装路径上的Trace Log文件。
问题是:我还没有权限浏览服务器的文件浏览器,因此我无法正确检查所述日志。
我已经尝试检查[ReportServer]。[dbo]。[ExecutionLog3]但它没有我需要的信息。我也尝试了这个查询(它仍然没有产生我需要查看的细节):
SELECT b.name AS JobName
,e.name
,e.path
,d.description
,a.SubscriptionID
,laststatus
,eventtype
,LastRunTime
,date_created
,date_modified
FROM ReportServer.dbo.ReportSchedule a
INNER JOIN msdb.dbo.sysjobs b ON CAST(a.ScheduleID AS NVARCHAR(MAX)) = b.name
INNER JOIN ReportServer.dbo.ReportSchedule c ON b.name = CAST(c.ScheduleID AS NVARCHAR(MAX))
INNER JOIN ReportServer.dbo.Subscriptions d ON c.SubscriptionID = d.SubscriptionID
INNER JOIN ReportServer.dbo.CATALOG e ON d.report_oid = e.itemid
WHERE LastStatus = 'Done: 1 processed of 1 total; 1 errors.'
ORDER BY LastRunTime DESC
我的问题:有没有办法查询所述日志并查看详细的错误消息?
谢谢!