数据源配置错误

Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.DeploymentWatcher.MisconfiguredDataSources (UnitMonitor)

如果检测到配置错误的数据源,监视器将发出警报。

Knowledge Base article:

摘要

如果配置错误的数据源数高于阈值,监视器将发出警报。

部分报表可以使用共享的数据源检索数据。如果共享的数据源已被删除或重新部署,则报表和共享的数据源之间的链接将无效。在这种情况下,报表执行将失败。

原因

配置错误的数据源数高于阈值。

解决方法

检查并配置所有数据源。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流

生成警报

定义工作流是否生成警报

间隔(秒)

运行工作流的重复间隔时间(秒)。

604800

同步时间

使用 24 小时格式指定的同步时间。可以忽略。

 

阈值

如果配置错误的数据源数高于阈值,监视器将更改状态并注册警报。

0

数据库连接超时

如果在指定期间无法访问数据库,工作流将失败并注册一个事件。

200

超时(秒)

指定允许工作流在被关闭并标记为失败之前运行的时间。

300

Element properties:

TargetMicrosoft.SQLServer.2014.ReportingServices.DeploymentWatcher
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SQLServer.2014.ReportingServices.MonitorType.DeploymentWatcher.MisconfiguredDataSources
RemotableTrue
AccessibilityPublic
Alert Message

SSRS 2014: 有配置错误的数据源
有配置错误的数据源
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.DeploymentWatcher.MisconfiguredDataSources" Accessibility="Public" Enabled="true" Target="SQLRS!Microsoft.SQLServer.2014.ReportingServices.DeploymentWatcher" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SQLServer.2014.ReportingServices.MonitorType.DeploymentWatcher.MisconfiguredDataSources" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SQLServer.2014.ReportingServices.UnitMonitor.DeploymentWatcher.MisconfiguredDataSources.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<Threshold>0</Threshold>
<IntervalSeconds>604800</IntervalSeconds>
<TimeOut>200</TimeOut>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>