Yapı Veritabanı Bağlantısı Açma Hatası

Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor (UnitMonitor)

Knowledge Base article:

Özet

Bu izleyici Federasyon Hizmetinin SAML yapı deposuna bağlanamadığını gösterir. 15 dakika içinde aynı sorun meydana gelmezse, bu izleyicinin sistem durumu Yeşil durumuna dönecektir. Bu izleyici tarafından oluşturulan uyarı el ile çözümlenmelidir.

Nedenler

Aşağıdakiler bu olayın gerçekleşmesinin olası nedenleridir:

Ayrıca, bu olay geçerli AD FS hizmeti kimliği için izinlerin veya erişimin oluşturulup oluşturulmadığı gibi SQL'ye özel sorun giderme için yararlı olabilecek ek ayrıntılar içeriyor olabilir.

Çözümler

Yapı veritabanının doğru bir şekilde yapılandırıldığından emin olun. Gerekirse bağlantı dizesini değiştirmek için ArtifactDbConnection parametresiyle (AD FS için Windows PowerShell cmdlet'lerinde yer alır) Set-ADFSProperties cmdlet'ini kullanın. Yapı veritabanı ile kurulan bağlantı sorunlarını giderin.

SQL'ye özel izin sorunlarını gidermek için AD FS sorun giderme kılavuzundaki "AD FS'de Sorun Gidermeden Önce Denetlenecek Şeyler" bölümünde AD FS hizmeti kullanıcı hesabının yapılandırma deposuna erişme izni olduğunu doğrulama yordamına bakın. Yapılandırma deposu (AdfsConfiguration) yerine (AdfsArtifactStore) yapı deposu izinlerini doğrulamak için burada sağlanan yordamı yeniden kullanabilirsiniz.

Element properties:

TargetMicrosoft.ActiveDirectoryFederationServices2012R2.ArtifactService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Yapı Veritabanı Bağlantısı Açma Hatası
Yapı veritabanına bağlanılamadı. Olay ayrıntıları için Uyarı Bağlamı sekmesini denetleyin.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogTimer2StateMonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.ActiveDirectoryFederationServices2012R2.ArtifactServiceArtifactStorageConnectionOpenErrorMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>$Target/Host/Host/Property[Type="Microsoft.ActiveDirectoryFederationServices2012R2.FederationServer"]/ADFSEventLog$</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">286</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>(^AD FS$)</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>900</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>