En dll kan inte laddas, eftersom programvaran har inte installerats korrekt.

A_dll_cannot_be_loaded_because_the_software_was_incorrectly_installed_5_Rule (Rule)

Knowledge Base article:

Sammanfattning

Userenv upplevde ett fel med användning av grupprincipen för domänkontrollanten. Grupprincipen måste användas framgångsrikt för domänkontrollanter för att fungera korrekt, eftersom domänkontrollanterna har flera kritiska behörigheter som Åtkomst till datorn från nätverket genom denna princip.

På grund av arkitekturen av unserenv, kan Microsoft Operations Manager (MOM) inte direkt rapportera om det specifika problemet.

Provhändelse:

Windows kan inte ladda %1 (%2).

Lösningar

För att aktivera userenv, se Knowledge Base artikel 221833, “How to Enable User Environment Debug Logging in Retail Builds of Windows,” på http://go.microsoft.com/fwlink/?LinkId=25636. Denna loggfil tillhandahåller detaljer för det specifika felet.

Externt

Element properties:

TargetMicrosoft.Windows.Server.2008.AD.DomainControllerRole
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
En dll kan inte laddas, eftersom programvaran har inte installerats korrekt.
{0}
Event LogApplication
CommentMom2005ID='{EB503915-A2D7-49B3-9781-1AB3CBEC1B1C}';MOM2005GroupID=

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
CollectEventData WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectEventDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="A_dll_cannot_be_loaded_because_the_software_was_incorrectly_installed_5_Rule" Comment="Mom2005ID='{EB503915-A2D7-49B3-9781-1AB3CBEC1B1C}';MOM2005GroupID=" Enabled="onEssentialMonitoring" Target="AD2008Core!Microsoft.Windows.Server.2008.AD.DomainControllerRole" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1001</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>UserEnv</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>UserName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>System</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="A_dll_cannot_be_loaded_because_the_software_was_incorrectly_installed_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
<WriteAction ID="CollectEventData" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>