The Systems Management Server 2003 or SMS 2003 Service Pack 1 Advanced Client computer cannot connect to the Management Point (905797)



The information in this article applies to:

  • Microsoft Systems Management Server 2003
  • Microsoft Systems Management Server 2003 SP1

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

A Microsoft Systems Management Server (SMS) 2003 or SMS 2003 Service Pack 1 (SP1) Advanced Client computer cannot connect to the Management Point. This symptom occurs if the proxy server that is specified in the WinHttpSettings value is not valid. Additionally, you experience the following symptoms:
  • The SMS 2003 Advanced Client computer does not send http requests to the Management Point. Additionally, the following error entries are added to the Ccmexec.log log file:

    Failed to create HTTP session
    HTTP ERROR: URL=http://servername/ccm_system/request, Port=<any port number>, Code=87, Text=<null>

    Failed to create HTTP session
    HTTP ERROR: URL=http://servername/ccm_system/request, Port=<any port number>, Code=12004, Text=ERROR_WINHTTP_INTERNAL_ERROR.

  • If you try to use the WinHttpTraceCfg.exe trace configuration tool after you restart the SMS Agent Host service, you receive the following error messages:
    16:41:36.842 ::*Session* :: WinHttpOpen("ccmhttp", (1), "", "", 0x0)
    16:41:36.842 ::*Session* :: WinHttpOpen() returning NULL
    Note By design, the WinHttpOpen() request typically returns a handle instead of a NULL value if the request is successful.

CAUSE

This problem occurs because of an incorrect value in the WinHttpSettings registry entry. The WinHttpSettings registry entry is located in the following registry subkey on the SMS 2003 Advanced Client computers:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

Windows HTTP services (WinHTTP) only accepts the following type of value:

ServerName

For example, this problem occurs if you use an incorrect value of the following type:

ServerName.DomainName.com

Note The Connections registry key makes WinHTTP use the proxy server that is mentioned in the WinHttpSettings value. This proxy server selection occurs during the initialization of WinHTTP.

RESOLUTION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, remove the WinHttpSettings value from the following registry key on the SMS 2003 Advanced Client computers, and then restart the SMS Agent Host service:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

STATUS

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

MORE INFORMATION

You can use the Proxycfg.exe proxy configuration tool on the SMS 2003 Advanced Client computers to configure WinHTTP to use a proxy server. To do this, use the following Proxycfg.exe command:

proxycfg -p ProxyServerName

The WinHttpSettings value is created in the following registry key after you run the previous command:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

Note By default, WinHTTP does not use a proxy server.

For more information about the Proxycfg.exe proxy configuration tool, visit the following Microsoft Web site:For more information about the WinHttpOpen function, visit the following Microsoft Web site:For more information about the Winhttptracecfg.exe trace configuration tool, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:9/13/2005
Keywords:kbtshoot kberrmsg kbprb KB905797 kbAudITPRO