w3wp.exe crashing, changed pool identity to Local System, no crash, changed back to Network Service, no crash, why?

Posted on 2007-03-29
Last Modified: 2010-08-05
IIS 6.0 is being ran on a Windows Server 2003 Domain Controller machine. A problem was sent my way to fix. The problem is as follows.

The w3wp.exe worker process would crash after a machine reboot. I reproduced the error (see below)  6  times. I then changed the Identity of the default application pool to Local_System from Network_Service. I then rebooted. The error did not appear. I reboot about 5 times and there was still no error appearing visually or in the event log. I then set the application pool identity back to Network_Service and rebooted. However, the error did not appear. I rebooted another 5 times and the error would still not occur, and I can't get it to reoccur.  What I am wondering is did the application pool need higher privliges to do something it only had to do once? And since it was able to do it once when I gave it higher privliged identity setting it back down would not have reproduced the error? Is anyone aware of anything that it may have only had to do once?

Beyond just that, any ideas on why the described events occured the way they did?

Lastly, once the error occured it did not keep reoccuring during the same session, meaning I had no problem starting ASP.NET web applications or ASP apps, and they all ran fine. This error only occured on startup.

Oh, and at the moment I do not have the ability to install IIS Diags or IIS State.

Any ideas / help would be appreciated.

The following is the generic crash error logged in the Application Event Log:

Event Type:Information
Event Source:Application Error
Event Category:(100)
Event ID:1004
Time:9:09:55 AM
Reporting queued error: faulting application w3wp.exe, version 6.0.3790.1830, faulting module unknown, version, fault address 0x001f0001.

For more information, see Help and Support Center at

Question by:Drifter88zxtW
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Expert Comment

ID: 18820167

From looking at other EE members who have had this problem there was discussion of a hotfix for .NET 2.0

Also one member said: I think I have resolved the problem. I went in to the IIS manager and restarted each of the application pools. After I did that, I got the following message in the event viewer: RPC Proxy successfully loaded in Internet Information Services (IIS) mode 6.0.

Author Comment

ID: 18820312
Thanks rbivilbiss for responding,

First, I have read David Wang's famous blog entry before, and as I said, I cannot use (at the moment) the IIS State or IIS Diagnostics Toolkit because for the moment we are not allowed to install anything on the production test servers.

Second, I did search this group before I posted my question, I did not see any topics closely related to my problem. Could you direct me to the topics you felt were similar to my problem? and I just searched for the RPC proxy topic you mentioned and I could find no topic closely related to my problem. It is possible I searched poorly...

If you have any further thoughts or ideas rbivilbiss please feel free to post, and of course that goes for anyone else peeking in at this topic, please feel free to post your thoughts..

LVL 29

Expert Comment

ID: 18820343
Search here for "faulting application w3wp.exe"
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.


Author Comment

ID: 18820455
I think maybe my topic was to convoluted. Those topics that came up with the search you posted were only related as so far as it concerned w3wp.exe crashing which can be caused by many many different reasons, and most the topics basically had nothing in common with my topic other than the crash.

My primary question is:

After changing the Default Application Pool to Local_System from Network_Service w3wp.exe stopped crashing on startup. That was all I changed, so I assumed when I changed it back to its original Identity setting Network_Service the w3wp.exe would start crashing again on reboot. It did not, why?

I realise no one will probably be able to tell me exactly why, but I am hoping for some good ideas to send me off looking in the right direction.
LVL 29

Expert Comment

ID: 18820507
That indeed is a much better question, to which I'm afraid I have no valuable contribution.

Expert Comment

ID: 18841840
I have been having this problem (after reboot, w3wp.exe crashes)

I have resolved the problem, as far as I can tell that is, as it may have related to PAE.  This is a VM, and though attempted to set VMWare Workstation vmx file to "off" for the PAE, this did not disable the PAE.

I instead then followed instructions to change the boot.ini to include /NoExecute=alwaysoff for PAE enabled but this disables DEP
After subsequent reboots, the w3wp.exe process stopped crashing.

Author Comment

ID: 19483087
The Solution:

The crash appears to be a consequence of an earlier failure to read this
registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET _2.0.50727\Names

When ASP.NET 2.0 is installed the local group IIS_WPG is given special
permissions on this key. When the server is a domain controller the IIS_WPG
group becomes a domain group (there are no local groups on domain
controllers) and the NETWORK SERVICE account cannot be a member of it as it
is a BUILTIN account.

What you will need to do is give the NETWORK SERVICE account specific
permissions to that key.

Start Regedit and navigate to that key.
Right-click "Names" and select Permissions on the context menu.
Click Add and enter NETWORK SERVICE, click "Check Names" and click Ok.
With NETWORK SERVICE highlighed in the "Groups or User Names" list click
On the "Advanced Security Settings for Names" dialogue highlight NETWORK
SERVICE and click "Edit"
In the "Permission entry for Names" dialogue check the "Name" box is showing
"NETWORK SERVICE" and put check marks against "Query Value", "Set Value",
"Create Subkey", "Enumerate Subkeys", "Notify" and "Read Control".
Click Ok on all the dialogues and close regedit.

Ensure your application pools are reconfigured to run as NETWORK SERVICE (or
at least all the ones you want to be) and restart them.

On subsequent restarts the w3wp.exe crash should not occur.

You'll probably want to repeat the above for LOCAL SERVICE as well.


This solution was obtained from:

LVL 29

Expert Comment

ID: 19509133
Recommend close but not deleted for the solution, with point refunded.

Accepted Solution

Vee_Mod earned 0 total points
ID: 19538240
Closed, 500 points refunded.
Community Support Moderator

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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