報表執行失敗次數

Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.DeploymentWatcher.NumberOfFailedReportExecutions (UnitMonitor)

此監視器會在報表執行失敗次數佔報表執行次數總計的百分比高於臨界值時發出警示。此監視器只會在連續數次檢查失敗時,才發出警示並變更其狀態。

Knowledge Base article:

摘要

此監視器會在報表執行失敗次數佔報表執行次數總計的百分比高於臨界值時發出警示。此監視器只會在連續數次檢查失敗時,才發出警示並變更其狀態。

原因

報表執行可能會因為多種不同的原因失敗。以下列出其中一部分原因:

解決方式

下列 TechNet 文章會逐步解說各種可以用來找出報表轉譯失敗原因的疑難排解步驟及其修正方法:

報表問題的疑難排解技術

報表疑難排解: 報表設計

報表疑難排解: 報表資料擷取

報表疑難排解: 報表處理

報表疑難排解: 報表轉譯

報表疑難排解: 在原生模式的報表伺服器上發行或檢視報表

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用工作流程

產生警示

定義工作流程是否會產生警示

間隔 (秒)

執行工作流程的週期性時間間隔 (秒)。

300

範例數

指出變更狀態前,測量值違反臨界值的次數。

6

同步處理時間

使用 24 小時制指定的同步處理時間。將會忽略。

 

臨界值

此監視器會在報表執行失敗次數佔報表執行次數總計的百分比高於臨界值時發出警示。

50

資料庫連線的逾時

若工作流程無法在指定的期限之內存取資料庫,將會失敗並登錄一則事件。

200

逾時 (秒)

指定允許工作流程在關閉且標示為失敗之前執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.2012.ReportingServices.DeploymentWatcher
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.ReportingServices.MonitorType.DeploymentWatcher.NumberOfFailedReportExecutions
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2012: 報表執行失敗次數太高
報表執行失敗次數 ({0} \%) 太高。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.DeploymentWatcher.NumberOfFailedReportExecutions" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.DeploymentWatcher.NumberOfFailedReportExecutions" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.DeploymentWatcher.NumberOfFailedReportExecutions.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='ExecutionFailed']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Threshold>50</Threshold>
<NumSamples>6</NumSamples>
<IntervalSeconds>300</IntervalSeconds>
<TimeOut>200</TimeOut>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>