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.

IIS may stop responding (hang) or may crash when you try to close it if an SMTP transport event sink that handles the IMailTransportOnPostCategorize::OnMessagePostCategorize event is registered with the SMTP service


View products that this article applies to.

Symptoms

The Microsoft Internet Information Services (IIS) service may stop responding (hang) or may crash when you try to close it if a Simple Mail Transfer Protocol (SMTP) transport event sink that handles the IMailTransportOnPostCategorize::OnMessagePostCategorize event is registered with the SMTP service.

↑ Back to the top


Cause

This problem may occur if the SMTP transport event sink is still processing asynchronous events at the same time that you try to close the IIS service. When you close the IIS service, it releases memory that the SMTP transport event sink needs in order to process asynchronous events.

↑ Back to the top


Workaround

To work around this problem, use one of the following methods:
  • Disable the SMTP transport event sink before you close the IIS service. When you do this, make sure that the SMTP transport event sink has finished processing any asynchronous events.

    Note If you are not sure about how to determine whether the SMTP transport event sink has finished processing an asynchronous event, contact the manufacturer of the event sink.
  • Use the iisreset.exe command to stop or restart the IIS service.

↑ 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


More information

For more information about the IMailTransportOnPostCategorize::OnMessagePostCategorize event, visit the following Microsoft Developer Network (MSDN) Web site:
IMailTransportOnPostCategorize::OnMessagePostCategorize
http://msdn2.microsoft.com/en-us/library/ms527740.aspx

↑ Back to the top


Keywords: KB907857, kbprb

↑ Back to the top

Article Info
Article ID : 907857
Revision : 6
Created on : 11/22/2007
Published on : 11/22/2007
Exists online : False
Views : 237