Microsoft KB Archive/281760

= XCON: How to Disable Internet Information Services Socket Pooling on the SMTP Service =

Article ID: 281760

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q281760



IMPORTANT: This article contains information about editing the metabase. Before you edit the metabase, verify that you have a backup copy that you can restore if a problem occurs. For information about how to do this, see the &quot;Configuration Backup/Restore&quot; Help topic in Microsoft Management Console (MMC).



SYMPTOMS
On a Windows 2000-based server that is running the SMTPSVC service with dual Network Interface Cards (NIC) installed, each bound to unique IP addresses as follows

NIC 1 --10.1.2.219 - third-party SMTP utility assigned to port 25 on this IP address

NIC 2 --10.1.2.250 - Windows 2000 SMTP service (Exchange 2000 is NOT involved)

when you attempt to start the SMTP virtual server that is configured to use the 10.1.2.250 IP address bound to NIC 2 (not &quot;All Unassigned&quot;) on Windows 2000, the following is recorded in the Application event log:

Event Type: Error

Event Source: SMTPSVC

Event Category: None

Event ID: 115

Description:

The service could not bind instance 1. The data is the error code.

Data:

0000: 40 27 00 00 @'..

If you telnet to the 250 address on port 25 while the virtual server is not running, you get no response. The third-party utility is not listening on that IP. You can stop the third-party software, and then the virtual server will start.

If you run the netstat -an command, it returns the following information when the default virtual server is started:

TCP 0.0.0.0:25 0.0.0.0:0 LISTENING

This shows that the SMTP virtual server is listening on all unassigned IP addresses even though you specified only the 10.1.2.250 IP address.



CAUSE
The SMTP service listens to port 25 on all unassigned IP addresses even if you specify a specific IP address for the default virtual server. You need to disable the Microsoft Internet Information Services (IIS) socket pooling feature (DisableSocketPooling). This property is not exposed in ADSI for SMTP.



RESOLUTION
The easiest way to resolve this issue is to download MetaEdit, and then set the value on the virtual service instance.

WARNING: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.

NOTE: Always back up the metabase before you edit it.

 Install and run MetaEdit on the server. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

232068 FILE: How to Download, Install, and Uninstall the IIS MetaEdit 2.2 Utility

 Expand LM and SmtpSvc. Right-click SmtpSvc, click New, and then click DWORD. In the Id list, click DisableSocketPooling. The field to the right should now read 1029. If DisableSocketPooling is not in the list, click (Other), and then type 1029 in the box. In the Data field, type 1 . Click to select the Inherit attribute.</li> Restart the Simple Mail Transport Protocol (SMTP) service.</li></ol>

<div class="status_section">

STATUS
This behavior is by design.

Keywords: kbprb KB281760

-

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

© Microsoft Corporation. All rights reserved.