Det gick inte att skriva till AD DS-tjänsterna vid listning, borttagning eller uppdatering av en skrivare.
Det gick inte att skriva till AD DS-tjänsterna vid listning, borttagning eller uppdatering av en skrivare.
Så här felsöker du anslutningen till en domänkontrollant:
Gå till utskriftsservern och öppna kommandotolksfönstret. Skriv sedan ipconfig /all i kommandotolken.
Kontrollera att utskriftsservern har en IP-adress inom det korrekta IP-adressintervallet, och att den inte har någon APIPA-adress (Automatic Private IP Addressing) (en IP-adress i intervallet 169.254.x.x).
Pinga loopback-adressen 127.0.0.1 för att kontrollera att TCP/IP är installerat och korrekt konfigurerat på den lokala datorn. Om pingningen misslyckas kan det tyda på en korrupt TCP/IP-stack eller problem med nätverkskortet.
Testa om du kan pinga den lokala IP-adressen. Om du kan pinga loopback-adressen men inte den lokala IP-adressen kan det vara fel på antingen routningstabellen eller nätverkskortets drivrutin.
Pinga DNS-servrarna. Om du inte kan pinga DNS-servrarna kan det tyda på ett möjligt problem med DNS-servrarna, eller eventuellt ett problem med nätverket mellan utskriftsservern och DNS-servrarna. Det kan även innebära att DNS-servrarna inte är konfigurerade för att svara på pingbegäranden. Du kan avgöra om så är fallet genom att pinga DNS-servrarna från en dator som du vet fungerar korrekt i närverket.
I kommandotolken skriver du nslookup print_server_name, där print_server_name är datornamnet på utskriftsservern, och trycker sedan på RETUR.
Om kommandot nslookup misslyckas men du kan pinga eller på annat sätt få åtkomst till DNS-servern startar du om DNS-servertjänsten på DNS-servern. Du gör detta genom att öppna snapin-modulen Tjänster i mappen Administrationsverktyg och välja tjänsten DNS-server och sedan klicka på verktygsfältsknappen Starta om tjänst.
På en domänkontrollant i samma domän som utskriftsservern skriver du följande kommando i kommandotolken: dcdiag /test:connectivity. Om det finns fel kan du läsa artikeln Översikt över Active Directory-användning: Felsöka Active Directory-relaterade DNS-problem ( http://go.microsoft.com/fwlink/?LinkID=57927) för ytterligare felsökningsåtgärder.
Gör ett nytt försök att publicera skrivaren.
Target | Microsoft.Windows.Server.6.2.PrintServer.Printer | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.6.2.PrintServer.PrintQueue.ADDSPrinterPublishing.System.None.EventBased.UnitMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.Server.6.2.PrintServer.Printer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.PrintServer.PrintQueue.ADDSPrinterPublishing.System.None.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Negative" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-PrintService/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(322|323|325|326|327|333|335)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.Windows.Server.6.2.PrintServer.Printer"]/DeviceID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-PrintService/Operational</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(332|334|336|338|342|343|344|345|346)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>