Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

WSUS console crashes due to program exception

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, there is a problem that the WSUS console cannot view and refresh the computer group. As long as the user refreshes the calculation in the computer group and selects "any" type of computer, the WSUS console will crash immediately, as shown below:

Go to the computer application log and you will find the following log records:

The WSUS Management console encountered an unexpected error. This may be a temporary error; try restarting the administrative console. If this error still exists

Try deleting the permanent preferences for the console by deleting the wsus file under% appdata%\ Microsoft\ MMC\.

The WSUS Management console encountered an unexpected error. This may be a temporary error; try restarting the administrative console. If this error still exists

Try deleting the permanent preferences for the console by deleting the wsus file under% appdata%\ Microsoft\ MMC\.

System.Xml.XmlException-"mouth" (hexadecimal value 0x16) is an invalid character. Line 1, location 7363841.

Source

System.Xml

Stack Trace:

In System.Xml.XmlTextReaderImpl.Throw (String res, String [] args)

In System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline (Int32 startPos, Boolean expand, StringBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType)

In System.Xml.XmlTextReaderImpl.ParseCharRefInline (Int32 startPos, Int32& charCount, EntityType& entityType)

In System.Xml.XmlTextReaderImpl.ParseText (Int32& startPos, Int32& endPos, Int32& outOrChars)

In System.Xml.XmlTextReaderImpl.ParseText ()

In System.Xml.XmlTextReaderImpl.ParseElementContent ()

In System.Xml.XmlReader.ReadStartElement ()

In System.Xml.Serialization.XmlSerializationReader.ReadStringValue ()

In System.Xml.Serialization.XmlSerializationReader.ReadTypedPrimitive (XmlQualifiedName type, Boolean elementCanBeType)

In Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderApiRemotingCompressionProxy.Read1_Object (Boolean isNullable, Boolean checkType)

In Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderApiRemotingCompressionProxy.Read2_GenericReadableRow (Boolean isNullable, Boolean checkType)

In Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderApiRemotingCompressionProxy.Read339_Item ()

In Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer623.Deserialize (XmlSerializationReader reader)

In System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

* * this exception was nested inside of the following exception * *

System.InvalidOperationException-there is an error in the XML document (1, 7363841).

Source

System.Xml

Stack Trace:

In System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

In System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle)

In System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse (SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

In System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (String methodName, Object [] parameters)

In Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPSearchComputers (String computerTargetScopeXml)

In Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchComputers (String computerTargetScopeXml)

In Microsoft.UpdateServices.Internal.BaseApi.ComputerTarget.SearchComputerTargets (ComputerTargetScope searchScope, UpdateServer updateServer)

In Microsoft.UpdateServices.UI.AdminApiAccess.BulkComputerPropertiesCache.GetAndCacheComputers (ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)

In Microsoft.UpdateServices.UI.SnapIn.Pages.ComputersListPage.GetListRows ()

Take a closer look at the errors above, please pay attention

When the console obtains the database data, the database contains illegal characters, which leads to the error in WSUS when presenting the data, and the illegal characters cannot be interpreted. The console crashed directly. This may also occur in SCCM, mainly because of some information on the client computer that contains illegal characters.

Solution: through the SQL management tool, open the dbo.tbComputerTargetDetail table in the WSUS database and edit all rows (how to edit all rows by Baidu); return the result as follows, click on the upper left corner to select all data, Ctrl+C copy all data, open through Notdpad++, copy to Notepad++

Search

The search method for the box character shown in is to copy the character in the log, then paste it in Notepad++ and search for it.

After finding this character, there is a corresponding TargetID. According to ID, find the corresponding line in the database, then modify the illegal character and fill in a legal character, which must be DELL or HP. Close the SQL management tools. Open the console and fix the failure.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report