IIS SMTP Status Codes

Posted on 2006-05-30
Last Modified: 2011-09-11

  I am toubleshooting an issue and would like to find out more about status codes in IIS SMTP logs.  Does anyone have a document or a link to a website that has the status codes and their meanings for IIS, specifically for sc-status and sc-win32-status?

Here is the log entry for the SMTP service that I am trouble shooting:

date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status cs-version cs-host cs(User-Agent)
2006-05-30 13:24:01 x.x.x.x - SMTPSVC1 MAIL-SERVER 0 QUIT - - 240 32 SMTP - -
2006-05-30 13:24:04 x.x.x.x - SMTPSVC1 MAIL-SERVER 0 QUIT - - 240 16 SMTP - -
2006-05-30 13:24:04 x.x.x.x - SMTPSVC1 MAIL-SERVER 0 QUIT - - 240 0 SMTP - -
2006-05-30 13:24:05 x.x.x.x - SMTPSVC1 MAIL-SERVER 0 QUIT - - 240 31 SMTP - -
2006-05-30 13:24:05 x.x.x.x - SMTPSVC1 MAIL-SERVER 0 QUIT - - 240 0 SMTP - -
Question by:dauyeung
    1 Comment
    LVL 34

    Accepted Solution

    Win32 status messages:
    16 - The directory cannot be removed.
    31 - A device attached to the system is not functioning.
    32 - The process cannot access the file because it is being used by another process.

    SMTP Status:
    240 - 2.4.0 = Success with "Other or undefined network or routing status"

    One thing to note is that there is some question about a possible bug where the win32 status value is actually showing time taken rather than the actual win32 status value.

    Bottom line is the log entries you show above appear to be successful.

    Dave Dietz


    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Leverage browser caching 2 41
    Web Config File 3 66
    smtp server IIS 6 9 35
    SQL Server Web Traffic Limitations 4 36
    Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
    Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now