Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6122131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:51:48+00:00 2026-05-23T15:51:48+00:00

For a production Win2003 web server, I’d like to be able to allways log

  • 0

For a production Win2003 web server, I’d like to be able to allways log minidumps whenever the w3wp.exe processes crash…I’ve read the documentation for ADPLUS, and have xcopy-deployed it to the production web server, and have started adplus.exe from the command line as follows:

adplus.exe -crash -MiniOnSecond -NoDumpOnFirst -pmn w3wp.exe -o C:\Dumps

This does log the “MiniOnSecond,” but it is also logging full dumps on first–and I don’t want those (they’re big fat files, and don’t have what I need). Has anyone found a way to get the “-NoDumpOnFirst” flag to actually work? Additionally, I’d like this behavior every time the box is rebooted–How can that be accomplished without running a batch file on-reboot? I’ve read about Windows Error Reporting (WER), and it is trivial to impliment this behavior on a Win2008R2 server–how to make that work on a 2003 server?

I’ve read the documentation for both ADPLUS and WER–but I need help with the actually command line and/or registry settings to make capturing minidumps simple on a Win 2003 Server. Thanks for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:51:48+00:00Added an answer on May 23, 2026 at 3:51 pm

    I played with the configuration file that can be attached with the -c flag…since i’m mostly interested in catching errors in my custom COM components, these settings create minidumps without fulldumps, and ignore CLR crashes, and don’t full-dump on IISReset.

    To have this run all the time, create a scheduled task. From an admin prompt:

    schtasks /create /tn "Crash Dump Monitor w3wp" /tr "\"C:\Program Files\Debugging Tools for Windows (x86)\adplus.exe\" -c \"C:\Program Files\Debugging Tools for Windows (x86)\adplus_w3wp.xml\"" /sc ONSTART
    

    Save this file as C:\Program Files\Debugging Tools for Windows (x86)\adplus_w3wp.xml
    :

    <ADPlus Version="2">
    <!-- 
    PURPOSE:      Capture mini crash dumps in IIS 6.0. Do not capture full dumps
    INSTRUCTIONS: Save this file in the same location as adplus.exe (usually C:\Program Files\Debugging Tools for Windows (x86))
    COMMAND LINE: 
              "C:\Program Files\Debugging Tools for Windows (x86)\adplus.exe" -iis -c "C:\Program Files\Debugging Tools for Windows (x86)\adplus_w3wp.xml"
    -->
      <Settings>
        <RunMode>Crash</RunMode>
        <OutputDir>C:\Dumps</OutputDir>
        <ProcessToMonitor>w3wp.exe</ProcessToMonitor>
      </Settings>
      <Exceptions>
        <All>
          <Actions1>VOID</Actions1>
          <Actions2>VOID</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </All>
        <Exception Code="av"><!-- Access Violoation -->
          <Actions1>Log;Time;Stack;MiniDump;EventLog</Actions1>
          <ReturnAction1>GN</ReturnAction1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="ch"><!-- InvalidHandle -->
          <Actions1>Log;Time;Stack;MiniDump;EventLog</Actions1>
          <ReturnAction1>GN</ReturnAction1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="ii"><!-- Illegal Instruction -->
          <Actions1>Log;Time;Stack;MiniDump;EventLog</Actions1>
          <ReturnAction1>GN</ReturnAction1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="dz"><!-- IntegerDivide -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="c000008e"><!-- FloatingDivide -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="iov"><!-- IntegerOverflow -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="lsq"><!-- InvalidLockSequence -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="sov"><!-- StackOverflow -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="aph"><!-- Application_hang -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="dm"><!-- Data_misaligned -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="gp"><!-- Guard_page_violation -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="ip"><!-- In_page_IO_error -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="isc"><!-- Invalid_system_call -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="sbo"><!-- StackOverflow -->
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
        <Exception Code="epr"><!-- Process_Shut_Down -->
          <Actions1>Log;Time;</Actions1>
          <ReturnAction1>Q</ReturnAction1>
        </Exception>
        <!--
        <Exception Code="clr">
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
    
        <Exception Code="*">
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>
    
        <Exception Code="clr">
          <Actions1>VOID</Actions1>
          <Actions2>Log;Time;Stack;MiniDump;EventLog</Actions2>
          <ReturnAction1>GN</ReturnAction1>
          <ReturnAction2>GN</ReturnAction2>
        </Exception>-->
    
      </Exceptions>
    
    </ADPlus>
    

    Can anyone improve on this? Have I missed any important crashing exceptions?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this ASP.NET/SQLServer2005 website running on a production server (Win2003, QuadCore, 4GB). The
We have a production web and database server with SQL Server 2000. (However, a
On production Tomcat server my webapp couldn't find jars located in WEB-INF/lib folder. In
We need to install a Subversion server on one of our production web servers.
My production is on full blown SQL Server 2008. I would like to have
Our current production web environment uses: Web Server: Netscape iPlanet v4.1 (don't laugh!) Servlet
On my production server, I just deployed a asp.net web application. I am seeing
My production environment involves a pair of IIS 6 web servers, one running legacy
Our production environment runs 3 32-Bit Java 6 JVMs on each Windows 2003 server.
I have a production server running with the following flag: - XX:+HeapDumpOnOutOfMemoryError Last night

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.