Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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)
  

↑ Back to the top


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\

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


Article Info
Article ID : 920151
Revision : 6
Created on : 5/29/2007
Published on : 5/29/2007
Exists online : False
Views : 284