Microsoft KB Archive/905797

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

Article ID: 905797

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003
 * Microsoft Systems Management Server 2003 Service Pack 1

-



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=< >, Code=87, Text=

Failed to create HTTP session

HTTP ERROR: URL=http://servername/ccm_system/request, Port=< >, 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(&quot;ccmhttp&quot;, (1), &quot;&quot;, &quot;&quot;, 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:

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

. .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 &quot;Applies to&quot; 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

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:

http://msdn2.microsoft.com/en-us/library/aa384069.aspx

For more information about the WinHttpOpen function, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa384098.aspx

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

http://msdn2.microsoft.com/en-us/library/aa384119.aspx

Keywords: kbtshoot kberrmsg kbprb KB905797

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.