此監視器會在部署監控程式無法連線至 Reporting Services 暫存資料庫時引發警示。
此監視器會在部署監控程式無法連線至 Reporting Services 暫存資料庫時引發警示。
監視工作流程無法連線至資料庫的原因很多。
以下列出其中一部分原因:
環境中的網路問題導致無法連線到資料庫伺服器
裝載資料庫之實體伺服器的資源不足
缺少連線到資料庫所需的權限
解決環境中所有的網路問題
檢查裝載資料庫之實體伺服器的資源
取得連線到資料庫所需的權限
下列文章提供有助於解決此問題的資訊,以及一些疑難排解步驟的逐步解說:
名稱 | 描述 | 預設值 |
已啟用 | 啟用或停用工作流程 | 是 |
產生警示 | 定義工作流程是否會產生警示 | 是 |
間隔 (秒) | 執行工作流程的週期性時間間隔 (秒)。 | 900 |
同步處理時間 | 使用 24 小時制指定的同步處理時間。將會忽略。 |
|
資料庫連線的逾時 | 若工作流程無法在指定的期限之內存取資料庫,將會失敗並登錄一則事件。 | 200 |
逾時 (秒) | 指定允許工作流程在關閉且標示為失敗之前執行的時間。 | 300 |
Target | Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SQLServer.2012.ReportingServices.MonitorType.Instance.DBConnectionMonitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>
<DBConnectionString>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher"]/DBConnectionString$</DBConnectionString>
<DatabaseName>$Target/Property[Type="SQLRS!Microsoft.SQLServer.2012.ReportingServices.DeploymentWatcher"]/TDBName$</DatabaseName>
<TimeOut>200</TimeOut>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>