<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.crmtogether.com/index.php?action=history&amp;feed=atom&amp;title=Crash</id>
	<title>Crash - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.crmtogether.com/index.php?action=history&amp;feed=atom&amp;title=Crash"/>
	<link rel="alternate" type="text/html" href="https://kb.crmtogether.com/index.php?title=Crash&amp;action=history"/>
	<updated>2026-10-15T12:52:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://kb.crmtogether.com/index.php?title=Crash&amp;diff=240&amp;oldid=prev</id>
		<title>Crmtogetherkb at 10:43, 15 December 2014</title>
		<link rel="alternate" type="text/html" href="https://kb.crmtogether.com/index.php?title=Crash&amp;diff=240&amp;oldid=prev"/>
		<updated>2014-12-15T10:43:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:43, 15 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Please check original source (link above)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*copy below from 15/12/14&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;HOW TO TROUBLESHOOT AN IIS &amp;quot;EVENT ID: 1009&amp;quot; ERROR.   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;HOW TO TROUBLESHOOT AN IIS &amp;quot;EVENT ID: 1009&amp;quot; ERROR.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Crmtogetherkb</name></author>
	</entry>
	<entry>
		<id>https://kb.crmtogether.com/index.php?title=Crash&amp;diff=239&amp;oldid=prev</id>
		<title>Crmtogetherkb at 10:42, 15 December 2014</title>
		<link rel="alternate" type="text/html" href="https://kb.crmtogether.com/index.php?title=Crash&amp;diff=239&amp;oldid=prev"/>
		<updated>2014-12-15T10:42:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:42, 15 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Very useful article from&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BLOG OF &quot;BRIAN MURPHY-BOOTH&quot; A.K.A. &quot;BRIAN BOOTH&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Crmtogetherkb</name></author>
	</entry>
	<entry>
		<id>https://kb.crmtogether.com/index.php?title=Crash&amp;diff=238&amp;oldid=prev</id>
		<title>Crmtogetherkb: Created page with &quot; Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx   HOW TO TROUBLESHOOT AN IIS &quot;EVENT ID: 1009&quot; ERROR.   An...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.crmtogether.com/index.php?title=Crash&amp;diff=238&amp;oldid=prev"/>
		<updated>2014-12-15T10:41:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx   HOW TO TROUBLESHOOT AN IIS &amp;quot;EVENT ID: 1009&amp;quot; ERROR.   An...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Ref:  http://blogs.iis.net/brian-murphy-booth/archive/2007/03/22/how-to-troubleshoot-an-iis-event-id-1009-error.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HOW TO TROUBLESHOOT AN IIS &amp;quot;EVENT ID: 1009&amp;quot; ERROR.  &lt;br /&gt;
An error that most IIS 6.0 administrators have probably encountered is &amp;quot;Event ID: 1009&amp;quot; which usually leads to a &amp;quot;503 Service Unavailable&amp;quot; error being displayed in a browser. &amp;quot;503&amp;quot; usually indicates the Application Pool has been disabled for some reason. The IIS support team frequently gets support calls to help resolve this issue and over the years I have compiled a list of steps I use to troubleshoot this. If the following information seems too confusing please let me know and I&amp;#039;ll clarify any confusing points. The follow list is broken down into different sections for the various &amp;quot;exit codes&amp;quot; that are in the Event 1009.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*** Problem Description ***&lt;br /&gt;
Many times when an IIS6 application pool terminates the following will be logged.&lt;br /&gt;
&lt;br /&gt;
  1. The Name of the App Pool&lt;br /&gt;
  2. The PID&lt;br /&gt;
  3. The exit code.&lt;br /&gt;
&lt;br /&gt;
The exit code is the most useful part of the event entry.&lt;br /&gt;
  Event Type: Warning&lt;br /&gt;
  Event Source: W3SVC&lt;br /&gt;
  Event Category: None&lt;br /&gt;
  Event ID: 1009&lt;br /&gt;
  Date:  1/29/2004&lt;br /&gt;
  Time:  10:01:14 AM&lt;br /&gt;
  User:  N/A&lt;br /&gt;
  Computer: COMPUTERNAME&lt;br /&gt;
  Description:&lt;br /&gt;
  A process serving application pool &amp;#039;DefaultAppPool&amp;#039; terminated unexpectedly. The &lt;br /&gt;
process id was &amp;#039;3908&amp;#039;. The process exit code was &amp;#039;0x80&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&amp;lt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*** Resolution ***&lt;br /&gt;
&lt;br /&gt;
Constants: &lt;br /&gt;
&lt;br /&gt;
// the WAS killed the worker process&lt;br /&gt;
#define KILLED_WORKER_PROCESS_EXIT_CODE 0xFFFFFFFD&lt;br /&gt;
&lt;br /&gt;
// the worker process exited ok&lt;br /&gt;
#define CLEAN_WORKER_PROCESS_EXIT_CODE  0xFFFFFFFE&lt;br /&gt;
&lt;br /&gt;
// the worker process exited due to a fatal error&lt;br /&gt;
#define ERROR_WORKER_PROCESS_EXIT_CODE  0xFFFFFFFF&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
Concepts that apply to exit codes of both 0x80 and 0xffffffff&lt;br /&gt;
  · Make sure &amp;quot;Network Service&amp;quot; and &amp;quot;IWAM_MACHINE&amp;quot; are members of IIS_WPG&lt;br /&gt;
  · If a custom identity is being used for the app pool ensure it is in IIS_WPG&lt;br /&gt;
  · Make sure that IIS_WPG is included somehow in these User Rights assignments &lt;br /&gt;
(example: Everyone group includes IIS_WPG so that is sufficient)&lt;br /&gt;
      a. Access this computer from network&lt;br /&gt;
      b. Log on as batch job&lt;br /&gt;
      c. Bypass traverse checking&lt;br /&gt;
  · Ensure that IIS_WPG or members of that group are not in any of the &lt;br /&gt;
corresponding &amp;quot;Deny&amp;quot; User Rights&lt;br /&gt;
  · Ensure that &amp;quot;NT AUTHORITY\Authenticated Users&amp;quot; and &amp;quot;NT AUTHORITY\Interactive&amp;quot; &lt;br /&gt;
are part of the &amp;quot;Users&amp;quot; group.&lt;br /&gt;
  · Use FileMon.exe and RegMon.exe to identify ACC DENIED&amp;#039;s.&lt;br /&gt;
  · If customer has more than ~60 app pools with unique identities, set the &lt;br /&gt;
following key:&lt;br /&gt;
      HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\UseSharedWPDesktop &lt;br /&gt;
(REG_DWORD with value of 1)&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
The process exit code was &amp;#039;0x80&amp;#039;.&lt;br /&gt;
  In certain cases when w3wp.exe goes away IIS will attempt to determine the exit code by calling the &amp;quot;GetExitCodeProcess&amp;quot; API.&lt;br /&gt;
  If the reason cannot be determined by this API then the code returned is 0x80.&lt;br /&gt;
  &amp;quot;0x80&amp;quot; means &amp;quot;ERROR_WAIT_NO_CHILDREN&amp;quot; which means &amp;quot;There are no child processes to wait for&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  This typically means the W3WP.exe never started at all which could be User-Rights related or &lt;br /&gt;
NTFS permissions.&lt;br /&gt;
  If it is NTFS permissions, that means the AppPool identity doesn&amp;#039;t have read &lt;br /&gt;
permission to the w3wp.exe file and/or supporting DLLs&lt;br /&gt;
  - Use FileMon to troubleshoot&lt;br /&gt;
  If it is User Rights related then the AppPool identity failed to logon.&lt;br /&gt;
  - Check the 3 User Rights listed above.&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
The process exit code was &amp;#039;0xffffffff&amp;#039;.&lt;br /&gt;
  Means the W3WP.exe process partially started but could not load a dependancy for &lt;br /&gt;
some reason.&lt;br /&gt;
  This is either permissions/security related or due to mismatched DLL&amp;#039;s.&lt;br /&gt;
  Try running the AppPool as &amp;quot;Local System&amp;quot;&lt;br /&gt;
  - If this works it is a permissions problem for the AppPool Identity. Check the &lt;br /&gt;
following &amp;quot;Scenarios&amp;quot; section then follow the &amp;quot;concepts&amp;quot; section above&lt;br /&gt;
  - If this fails using System it is a mismatch or missing DLL problem. Check &lt;br /&gt;
scenario #1 below then follow the &amp;quot;Loader Snaps&amp;quot; section&lt;br /&gt;
&lt;br /&gt;
Scenarios for 0xffffffff&lt;br /&gt;
&lt;br /&gt;
  1. The first thing that should be checked is whether a Windows Service pack is installed&lt;br /&gt;
    - If it is, verify that &amp;quot;c:\windows\System32\instsrv\w3core.dll&amp;quot; is either the &lt;br /&gt;
RTM version or SP1 version.&lt;br /&gt;
    - If it is the RTM version then reapplying the service pack should fix the problem.&lt;br /&gt;
&lt;br /&gt;
  2. Is this IIS server a DC and have you reinstalled IIS on another DC?&lt;br /&gt;
    I have had two cases where there was a permissions failure reading nodes in the &lt;br /&gt;
metabase&lt;br /&gt;
    When installing IIS it creates an IIS_WPG group with a somewhat random SID.&lt;br /&gt;
    Permissions in the metabase are then set using this unique version of &lt;br /&gt;
IIS_WPG.&lt;br /&gt;
    When removing IIS on a DC it will delete the IIS_WPG group, if Win2k3 SP1 is &lt;br /&gt;
not installed, which is used by all the other DC&amp;#039;s running IIS&lt;br /&gt;
    When then adding IIS back on to this DC, a new IIS_WPG group is created that &lt;br /&gt;
has a new SID&lt;br /&gt;
    The pre-existing permissions (older SID) in the other metabases will have &lt;br /&gt;
&amp;quot;Unknown User&amp;quot; for the permissions and spawning W3WP.exe under anything other than &lt;br /&gt;
SYSTEM will fail with 0xffffffff&lt;br /&gt;
    - I found this by enabling Tracing then searching through source code.&lt;br /&gt;
    - If you get a Debug Trace using DbgView.exe look for a line that says:&lt;br /&gt;
        w3core!W3_SERVER::Initialize [\w3server.cxx @ 526]:Error reading &lt;br /&gt;
UseDigestSSP property.  hr = 80070005&lt;br /&gt;
    - However It would be easy enough to skip Debug Tracing and just look at the &lt;br /&gt;
following nodes using Metabase Explorer.&lt;br /&gt;
    - IIS_WPG needs permissions to the following nodes: &lt;br /&gt;
      1. MachineName - Read&lt;br /&gt;
      2. w3svc/1/Filters (or any other filters node) - Read/Write&lt;br /&gt;
      3. w3svc/AppPools - Special (Query Unsecure Property)&lt;br /&gt;
&lt;br /&gt;
  3. Has the customer modified default DCOM security?&lt;br /&gt;
    - We have run into an issue where the customer had modified &lt;br /&gt;
the default Launch and Activation Permissions in Component Services.&lt;br /&gt;
    - The customer removed Local Launch and Local Activation for the Everyone &lt;br /&gt;
group.&lt;br /&gt;
    - Here is the section of loader snaps output that is a hint of this scenario:&lt;br /&gt;
&lt;br /&gt;
LDR: LdrGetProcedureAddress by NAME - CoMarshalInterface&lt;br /&gt;
LDR: LdrGetProcedureAddress by NAME - CoUnmarshalInterface&lt;br /&gt;
LDR: LdrGetProcedureAddress by NAME - CoReleaseMarshalData&lt;br /&gt;
(15c8.914): Unknown exception - code 80070005 (first chance)&lt;br /&gt;
LDR: UNINIT LIST&lt;br /&gt;
          (1) [iisres.dll] c:\windows\system32\inetsrv\iisres.dll (0) deinit 0&lt;br /&gt;
LDR: Unmapping [iisres.dll]&lt;br /&gt;
LDR: Derefcount IISMAP.dll (0)&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
The process exit code was &amp;#039;0xc0000005&amp;#039;.&lt;br /&gt;
  This is a crash.&lt;br /&gt;
  Troubleshoot using a Debugger. (Debug Diagnostics)&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
The process exit code was &amp;#039;0xff&amp;#039;.&lt;br /&gt;
  Process shut down &amp;quot;gracefully&amp;quot; for some reason.&lt;br /&gt;
  Troubleshoot as a crash and see who called TerminateProcess or ExitProcess.&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
The process exit code was &amp;#039;0x0&amp;#039;.&lt;br /&gt;
  This would be typical if you had w3wp.exe configured to launch under a debugger &lt;br /&gt;
and you never did a &amp;quot;Go&amp;quot; in the debugger windows.&lt;br /&gt;
  Launch gflags.exe and clear the debugger setting for w3wp.exe&lt;br /&gt;
-----------------------------------------------------------&lt;br /&gt;
Loader Snaps Section - These steps are not for getting memory dumps. This explains &lt;br /&gt;
how to easily get the reason that a module (DLL) failed to load which is one reason for a 0xffffffff.&lt;br /&gt;
&lt;br /&gt;
  1. Send customer &amp;quot;gflags.exe&amp;quot; (can be obtained from Debugging Tools for &lt;br /&gt;
Windows)&lt;br /&gt;
  2. Double-click gflags.exe&lt;br /&gt;
  3. Go to the &amp;quot;Image File&amp;quot; tab&lt;br /&gt;
  4. Enter &amp;quot;w3wp.exe&amp;quot; for the image then press &amp;quot;tab&amp;quot;&lt;br /&gt;
  5. Put a check in &amp;quot;Show loader snaps&amp;quot;&lt;br /&gt;
  6. Put a check in &amp;quot;Debugger&amp;quot; and enter&lt;br /&gt;
        &amp;quot;NTSD.exe -logo c:\temp\LDR.log -g -G -r 0&amp;quot; (&amp;lt;-- that is a zero)&lt;br /&gt;
  7. Ensure the folder from the previous step has adequate read/write permissions &lt;br /&gt;
for the Identity that is launching the AppPool.&lt;br /&gt;
  8. Ensure that the AppPool is enabled&lt;br /&gt;
  9. Reproduce the problem. - At this point w3wp.exe should spawn under NTSD.exe, &lt;br /&gt;
write to the log, then shut down.&lt;br /&gt;
  10. Have customer send the LoaderSnaps.log output found in the c:\temp folder.&lt;br /&gt;
  11. Search for the text of &amp;quot;exception&amp;quot; or &amp;quot;failed&amp;quot; (you&amp;#039;ll probably find what you &lt;br /&gt;
want near the end of the log)&lt;br /&gt;
  12. Lookup the listed error number using err.exe or hrplus.exe. The DLL that it &lt;br /&gt;
is having trouble on is the line just previous to the &amp;quot;exception/failed&amp;quot; line.&lt;br /&gt;
  13. Take the logical steps to address whatever the error is describing.&lt;br /&gt;
&lt;br /&gt;
  Notes - Don&amp;#039;t forget to reverse these settings when done.&lt;br /&gt;
            - If you identify a DLL that is the wrong version usually simply &lt;br /&gt;
reapplying the relevant hotfix or service pack will resolve the issue.&lt;/div&gt;</summary>
		<author><name>Crmtogetherkb</name></author>
	</entry>
</feed>