可存取暫存資料庫

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

如果部署監控程式無法連線至 Reporting Services 暫存資料庫,則此監視器會引發警示。

Knowledge Base article:

摘要

如果部署監控程式無法連線至 Reporting Services 暫存資料庫,則此監視器會引發警示。

原因

reportServertempDb 行為不如預期的原因有很多種。下列文章說明且逐步檢閱可協助解決此情況的一些疑難排解步驟。

http://technet.microsoft.com/en-us/library/ms159093.aspx

可覆寫的參數

名稱

描述

預設值

已啟用

 

1

產生警示

 

間隔 (秒)

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

900

同步處理時間

 

 

資料庫連線的逾時

如果此工作流程無法在指定的時間間隔期間存取資料庫,則會失敗並登錄一則事件。

300

Element properties:

TargetMicrosoft.SQLServer.2012.ReportingServices.DeploymentWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2012.ReportingServices.MonitorType.Instance.DBConnectionMonitor
RemotableTrue
AccessibilityPublic
Alert Message
SSRS 2012: 部署監控程式無法連線至 Reporting Services 暫存資料庫
部署監控程式無法連線至 Reporting Services 暫存資料庫。收到的錯誤訊息:
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.DeploymentWatcher.TempDBConnection" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2012.ReportingServices.MonitorType.Instance.DBConnectionMonitor" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2012.ReportingServices.UnitMonitor.DeploymentWatcher.TempDBConnection.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Errors']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<DatabaseServerName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher"]/ServerFQDN$</DatabaseServerName>
<DatabaseInstanceName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher"]/DBInstanceName$</DatabaseInstanceName>
<DatabaseName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher"]/TDBName$</DatabaseName>
<TimeOut>300</TimeOut>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>