You receive a "0x80070002" error code when you download an update from Windows Server Update Services in Windows XP

Article translations Article translations
Article ID: 920151 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you download an update from a Microsoft Windows Server Update Services (WSUS) server on a Microsoft Windows XP-based computer, the update may fail. Additionally, a red X may appear adjacent to the update. In this case, you receive the following error code:
0x80070002
Furthermore, a full debug log shows information that resembles the following:
 

2005-12-15	11:09:52	1208	670	PT	Config from server:
2005-12-15	11:09:52	1208	670	PT	  LastChange: 2005-10-19T20:50:50.2100000-06:00
2005-12-15	11:09:52	1208	670	PT	  IsRegistrationRequired: TRUE
2005-12-15	11:09:52	1208	670	PT	  AuthPlugInInfo (1):
2005-12-15	11:09:52	1208	670	PT	  PlugInID: SimpleTargeting
2005-12-15	11:09:52	1208	670	PT	  ServiceUrl: 
SimpleAuthWebService/SimpleAuth.asmx
2005-12-15	11:09:52	1208	670	PT	  Parameter: 
2005-12-15	11:09:52	1208	670	PT	  AllowedEventIds (0):
2005-12-15	11:09:52	1208	670	PT	  Properties (1):
2005-12-15	11:09:52	1208	670	PT	  Name: MaxExtendedUpdatesPerRequest
2005-12-15	11:09:52	1208	670	PT	     Value: 50
2005-12-15	11:09:52	1208	670	PT	PTInfo: Server requested registration
2005-12-15	11:09:52	1208	670	PT	WARNING: PTWarn: GetComputerNameEx is expected to 
fail with ERROR_MORE_DATA, hr=0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTWarn: GetComputerDnsName failed, 
hr=0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTError: 0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: Cached cookie has expired or new PID is 
available
2005-12-15	11:09:52	1208	670	PT	Simple Targeting using relative URL
2005-12-15	11:09:52	1208	670	Misc	pszUrlCopy = 03905A70 -> 
http://sus/SimpleAuthWebService/SimpleAuth.asmx, urlComponents.lpszUrlPath = 
03905A84 -> /SimpleAuthWebService/SimpleAuth.asmx
2005-12-15	11:09:52	1208	670	Misc	exiting SetUrl
2005-12-15	11:09:52	1208	670	PT	PT: Using server URL 
http://sus/SimpleAuthWebService/SimpleAuth.asmx
2005-12-15	11:09:52	1208	670	PT	WARNING: PTWarn: GetComputerNameEx is expected to 
fail with ERROR_MORE_DATA, hr=0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTWarn: GetComputerDnsName failed, 
hr=0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTError: 0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTError: 0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTError: 0x80070002
2005-12-15	11:09:52	1208	670	PT	WARNING: PTError: 0x80070002
2005-12-15	11:09:52	1208	670	Report	Failed to obtain cached cookie with hr = 
80070002.
2005-12-15	11:09:52	1208	670	Report	WARNING: Reporter failed to upload events with 
hr = 80070002.
2005-12-15	11:09:52	1208	670	Report	Done uploading events. (80070002)
  

CAUSE

This problem may occur if the domain registry entry is missing from the following registry subkey on the Windows XP-based client computer:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\

RESOLUTION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


To resolve this problem, follow these steps.

Step 1: Add the Domain registry entry

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
  3. On the Edit menu, point to New, and then click String Value.
  4. Type Domain for the name of the String Value, and then press ENTER.
  5. Exit Registry Editor.

Step 2: Restart the Automatic Updates service

  1. Click Start, click Run, type cmd, and then click OK.
  2. Type Net Stop WUAUSERV, and then press ENTER.
  3. Type Net Start WUAUSERV, and then press ENTER.
  4. Type Exit, and then press ENTER.
Alternatively, you can restart the computer to restart the Automatic Updates service.

Step 3: Add the Primary DNS suffix

  1. Click Start, click Run, type ncpa.cpl, and then click OK.
  2. Right-click the Network Connection that you are using, and then click Properties.

    Note Typically, the Network Connection that you are using is named Local Area Connection.
  3. Double-click Internet Protocol (TCP/IP).
  4. Click Advanced, and then click the DNS tab.
  5. Type type the DNS suffix in the DNS suffix for this connection box.
  6. Click OK, and then close the Networking properties windows.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 920151 - Last Review: May 29, 2007 - Revision: 1.5
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
Keywords: 
kbtshoot kberrmsg kbprb kbexpertiseinter KB920151

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com