• Sign In
 
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...
Common Tasks
  • Blog Home
  • Email Blog Author
  • RSS for comments
  • RSS for posts
Search
  • Advanced search options...
Tags
  • .NET Framewor
  • .NET Framework
  • Ajax/Javascript
  • ASP.NET
  • CLR
  • Cool stuff
  • DataAccess
  • Debugging/Windbg
  • Hotfix/Service Pack
  • IDEVDataCollector
  • IIS
  • Internet Explorer
  • Italian techs
  • LogParser
  • OT
  • Personal
  • Productivity
  • Random
  • Scripting/ASP
  • Security
  • Technology
  • Tools
  • Troubleshooting
  • Vista/Longhorn
  • Visual Studio
Archives
Archives
  • November 2010 (1)
  • October 2010 (1)
  • July 2010 (2)
  • April 2010 (1)
  • March 2010 (2)
  • February 2010 (2)
  • January 2010 (1)
  • October 2009 (2)
  • September 2009 (2)
  • August 2009 (1)
  • July 2009 (5)
  • June 2009 (1)
  • May 2009 (1)
  • April 2009 (3)
  • March 2009 (3)
  • February 2009 (5)
  • January 2009 (3)
  • December 2008 (5)
  • November 2008 (3)
  • October 2008 (2)
  • September 2008 (3)
  • August 2008 (3)
  • July 2008 (3)
  • June 2008 (5)
  • May 2008 (4)
  • April 2008 (8)
  • March 2008 (4)
  • February 2008 (5)
  • January 2008 (2)
  • December 2007 (4)
  • November 2007 (6)
  • October 2007 (6)
  • September 2007 (8)
  • August 2007 (6)
  • July 2007 (7)
  • June 2007 (10)
  • May 2007 (9)
  • April 2007 (12)
  • March 2007 (8)
  • February 2007 (5)
  • January 2007 (3)
  • December 2006 (1)
  • November 2006 (4)
  • October 2006 (2)
  • September 2006 (9)
  • August 2006 (2)
  • July 2006 (1)

aspnet_wp.exe can not be started. Code: 80070003

MSDN Blogs > Never doubt thy debugger > aspnet_wp.exe can not be started. Code: 80070003

aspnet_wp.exe can not be started. Code: 80070003

Carlo Cardella
19 Feb 2008 9:45 AM
  • Comments 1

This was a Windows 2000 server with ASP.NET 1.1 installed, and for some reason the customer was unable to start his web applications, he was getting "Server Application Unavailable" messages on the client.

We found the Application event log full of entries like this one:

Event Type:    Error
Event Source:    ASP.NET 1.1.4322.0
Event Category:    None
Event ID:    1084
Date:        18/02/2008
Time:        15.59.43
User:        N/A
Computer:    <computername>
Description:
aspnet_wp.exe could not be started. The error code for the failure is 80070003.
This error can be caused when the worker process account has insufficient rights to read the .NET Framework files.
Please ensure that the .NET Framework is correctly installed and that the
ACLs on the installation directory allow access to the configured account.

The next logical step is to use Process Monitor to try to spot any "Access denied" errors, but there weren't.

Interestingly within the procmon trace we instead found quite a few entries similar to the following

inetinfo.exe:1112 OPEN C:\Debuggers\cdb.exe PATH NOT FOUND
inetinfo.exe:1112 QUERY INFORMATION C:\Debuggers\cdb.exe -server PATH NOT FOUND
inetinfo.exe:1112 QUERY INFORMATION C:\Debuggers\cdb.exe -server.exe PATH NOT FOUND
inetinfo.exe:1112 OPEN C:\Debuggers\cdb.exe -server PATH NOT FOUND
inetinfo.exe:1112 QUERY INFORMATION C:\Debuggers\cdb.exe -server tcp:port=8090 PATH NOT FOUND
inetinfo.exe:1112 QUERY INFORMATION C:\Debuggers\cdb.exe -server tcp:port=8090.exe PATH NOT FOUND
inetinfo.exe:1112 OPEN C:\Debuggers\cdb.exe -server tcp:port=8090 PATH NOT FOUND

As you may know, cdb.exe usually ships with the Debugging Tools for Windows, and C:\Debuggers is a folder we usually use (at least in CSS) to install the debugger... This made me think to a problem I had a while ago with my notepad (see here), so I asked the customer to check if he had a this registry key:

hklm\software\microsoft\windows nt\currentversion\image file execution options\aspnet_wp.exe

This is usually created by gflags, and those Path not found errors means the customer actually had the Debugging Tools for Windows installed in C:\Debuggers and then for some reason someone moved (or deleted) the folder without first removing the gflags entry from the registry: if cdb.exe cannot be found, then the target process (in this case aspnet_wp.exe) cannot be started.

We just deleted the registry key and the site was back online.

 

 

Carlo

Quote of the Day:
Sharing money is what gives it its value. -- Elvis Presley, singer
  • 1 Comments
ASP.NET, Debugging/Windbg
Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
Comments
  • MSDN Blog Postings » aspnet_wp.exe can not be started. Code: 80070003
    19 Feb 2008 12:04 PM

    PingBack from http://msdnrss.thecoderblogs.com/2008/02/19/aspnet_wpexe-can-not-be-started-code-80070003-2/

Page 1 of 1 (1 items)
  • © 2012 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy Statement
  • Report Abuse
  • 5.6.402.223