System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q265340
This article describes how to configure Microsoft COM
Internet Services (CIS) on the Distributed Component Object Model (DCOM)
client. This article is divided into the following sections:
You must configure the client computer to enable
CIS.
CIS is practically impossible to configure if the DCOM
application has callbacks. For example, COM+ applications have implicit
callbacks.
If there is an existing firewall that protects the DCOM
server, CIS requires that you open port 80 to let the HTTP packets
through.
CIS may not work properly if the DCOM server is a
multihomed computer.
If the DCOM server is a Windows 2000-based system, and if
Tunneling TCP is the only DCOM protocol that is selected at the computer/server
process level, CIS requires that the proxy server and the client resolve the
DCOM server's computer name.
CIS does not work correctly if you enable "TCP/IP
Filtering" on the server computer with TCP port filtering.
CIS requires that you configure the proxy server to enable
the HTTP CONNECT method for the port to which the client connects (or enable
SSL tunneling).
Performance is slower with CIS than it is when you use DCOM
over TCP/IP.
Note Before you configure CIS on a Windows 95-based computer, you must
have DCOM95 version 1.2 or later installed. You can download DCOM95 1.2 from
the following Microsoft Web site:
Note On a Windows 98-based computer, you must have DCOM98 version 1.3
or later installed. You can download DCOM98 1.3 from the following Microsoft
Web site:
The version number is stored under this key in the
format "a,b,c,d", where a, b, c, and d are numeric values that represent the
following attributes:
a - major operating system version
b - minor operating system version
c - minor file version
d - major file version
The InstalledVersion for the Web release of DCOM95 1.2 is 4,1,0,2618. The InstalledVersion for the Web release of DCOM95/DCOM98 1.3 is
4,1,0,3328. For more information,
including a table of DCOM95 and DCOM98 versions, click the following article
number to view the article in the Microsoft Knowledge Base:
235638
(http://support.microsoft.com/kb/235638/
)
DCOM95 and DCOM98 version information
Enable CIS client support. At a command prompt, type
CISCNFG tcp_http to run the CISCNFG utility. You can use
the following parameters with CISCNFG:
tcp: DCOM over TCP only
http: DCOM over Tunneling TCP only
tcp_http: DCOM over TCP and Tunneling TCP, TCP takes preference
You can download the CISCNFG utility for Windows 95, Windows 98,
and Windows Me from the Microsoft Download Center: The following file is available for
download from the Microsoft Download Center:
For more information about how to
download Microsoft support files, click the following article number to view
the article in the Microsoft Knowledge Base:
119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help prevent
any unauthorized changes to the file.
Note Make sure that you download the DCOM9x for Windows 9x configuration utility.
To make sure that the correct protocol is set up, check the
HKLM\SOFTWARE\Microsoft\Rpc registry key for the DCOM Protocols value. If Tunneling TCP is configured, this value contains ncacn_http; if TCP is configured, this value contains ncacn_ip_tcp.
Restart the system for the changes to take
effect.
CIS support is available on Windows NT 4.0 SP4 or later and
Windows 2000 systems. To enable CIS client support, follow these steps:
At a command prompt, type
DCOMCNFG.
On the Default Protocols tab, click Add. In the Protocol Sequence drop-down list, click Tunneling TCP/IP. Click OK.
In the DCOM Protocols list box, remove any protocols that are not used. Move Tunneling TCP/IP to the top of the list to avoid any activation delays due to
protocol negotiation. (If you have multiple protocols configured, DCOM tries to
use them in the order in which they appear in this list.)
Restart the system for the changes to take
effect.
To make sure that the correct protocol is set up, check the
HKLM\SOFTWARE\Microsoft\Rpc registry key for the DCOM Protocols value. If Tunneling TCP is configured, this value contains ncacn_http; if TCP is configured, this value contains ncacn_ip_tcp.
Follow these steps for all of the above-mentioned clients:
If the client is located behind a proxy server, configure
the proxy server settings on the client using the Internet Options application in Control Panel to access the Web. Set the correct
proxy server address and port.
Make sure that the proxy server
address does not contain any prefixes, such as http://. For
example, if the proxy server address is myproxy, use
myproxy for the address, not
http://myproxy.
This value is stored in the
following registry key:
If the proxy server may be bypassed when trying to reach
the DCOM server, make sure that the Bypass proxy server for local
addresses check box is cleared in the proxy server settings.
Note The settings in steps 1 and 2 are shared by Remote Procedure
Calls (RPC) and other applications such as Internet Explorer.
Make sure that the client computer can reach the server
computer's default Web site.
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
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
Under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
W3proxy\Parameters\SSLPortListMembers registry key, specify which ports enable HTTP CONNECT. For example, for a default proxy configuration that handles HTTP
traffic on port 80, add port 80.
The key value consists of a list of
ports in pairs. Two ports are enabled by default: 443(https) and 563(snews). To
add port 80, use Registry Editor (Regedit.exe or Regedt32.exe) to add the pair
80 80 to the existing registry values. After you add the
pair, the value of the registry key appears as follows:
443 443 563 563 80 80
Turn off proxy server security for HTTP CONNECT as follows:
Open Microsoft Management Console (MMC) for Microsoft
Proxy Server 2.0.
Right-click Web Proxy, and then click Properties.
In the Web Proxy Service's Property dialog box, on the Permissions tab, clear the enable access control check box, and then click OK.
Stop and then restart the Microsoft Proxy Server for the
new settings to take effect.
Use the DCOMTEST sample in the following Microsoft
Knowledge Base article to troubleshoot:
259011
(http://support.microsoft.com/kb/259011/
)
A simple DCOM client server test application
Use the Netmon utility (or any other utility that captures
network traffic) to analyze the traffic for troubleshooting.
If the network traffic shows that the DCOM client does not
use HTTP as expected, check the DCOM Protocols list on both client and server computers.
If CIS still does not work, and the DCOM client receives
the "Rpc Server is unavailable" (0x800706ba, RPC_S_SERVER_UNAVAILABLE) error on
activation, examine
the following:
Windows XP Service Pack 2 and Windows Server 2003
Examine the following
registry subkey to determine if the registry subkey contains Internet Explorer proxy
settings:
(If the Remote Procedure Call (RPC) service is running
as SYSTEM)
CIS
will not work on a computer that is running Windows XP Service Pack 2 or Windows Server 2003 without the
Internet Explorer proxy settings in the previous registry subkey.
If
the Internet Explorer proxy settings do not exist in the previous registry
subkey, add the Internet Explorer proxy settings that work for the current user
to the previous registry subkey. You can find current user's Internet Explorer
proxy settings in the following registry subkey:
240664
(http://support.microsoft.com/kb/240664/
)
COM Internet Services do not work without ProxyOverride entry
Windows 95 and Windows 98
243220
(http://support.microsoft.com/kb/243220/
)
COM Internet Services do not work without ProxyOverride entry
When you run a DCOM application (such as the DCOMTEST
sample) and the DCOM server is running on a Windows 2000-based computer in
which the client is behind a proxy server, the activation may succeed, but any
method call fails with "Rpc Server is unavailable" (0x800706ba,
RPC_S_SERVER_UNAVAILABLE). Make sure that the proxy server can reach the DCOM
server computer using its full computer name, such as <computername.domain>.
If the activation fails with "Rpc Server is unavailable"
(0x800706ba, RPC_S_SERVER_UNAVAILABLE), make sure that the client can reach the
default Web site. If the default Web site can be reached, and if the client is
behind a proxy server, check whether the proxy server requires authentication
for HTTP CONNECT. For CIS to work, you must turn off security on the proxy server
for HTTP CONNECT.
If the client computer is a Windows 2000-based computer,
and you receive the "The object exporter specified was not found." (0x80070776,
OR_INVALID_OXID) error for the activation call, make sure that the client
computer and proxy server can reach the DCOM server by using its full computer
name, such as <computername.domain>.
For more information about CIS configuration, click the
following article numbers to view the articles in the Microsoft Knowledge Base: