FIX: Cannot attach a user-mode debugger to the Aspnet_wp.exe process through Image File Run Options (820747)



The information in this article applies to:

  • Microsoft .NET Framework 1.1
  • Microsoft ASP.NET (included with the .NET Framework 1.1)

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

When you try to automatically attach a debugger to the Aspnet_wp.exe process at startup through the Image File Execution Options key in the registry, you may receive the following error in the Application Event Log:
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event ID: 1084
Description: The description for Event ID ( 11013 ) in Source ( RouteService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Successfully loaded MapPoint construction file
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply the fix, follow these steps to attach a debugger on the startup of the Aspnet_wp.exe process:
  1. Open Regedit.exe and locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options.
  2. Add a new key, and name it: Aspnet_wp.exe.
  3. Add a new string value (REG_SZ) to the newly created key, and then name it: Debugger.
  4. Set the Debugger value as follows: C:\Debuggers\cdb.exe -server tcp:port=8090 -g
Note There can be no spaces in your debugger update.

RESOLUTION

How to obtain the hotfix

This issue is fixed in the June 2003 ASP.NET Hotfix Package 1.1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

821156 ASP.NET 1.1 June 2003 Hotfix Rollup Package

You cannot obtain this fix individually. You must install the rollup.

Note When you request this hotfix, you receive the rollup. The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
	           Date         Time   Version       Size       File name
		   -----------------------------------------------------------------------
		   07-Jun-2003  00:44  1.1.4322.910    253,952  Aspnet_isapi.dll
		   07-Jun-2003  00:44  1.1.4322.910     20,480  Aspnet_regiis.exe
		   07-Jun-2003  00:44  1.1.4322.910     32,768  Aspnet_wp.exe
		   15-May-2003  23:49                   33,522  Installpersistsqlstate.sql
		   15-May-2003  23:49                   34,150  Installsqlstate.sql
		   07-Jun-2003  12:52  1.1.4322.910  1,216,512  System.dll
		   07-Jun-2003  00:39                   14,472  Webuivalidation.js
		   07-Jun-2003  12:52  1.1.4322.910  1,249,280  System.Web.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:9/1/2006
Keywords:kbHotfixServer kbQFE kbNetFrame110preSP1fix kbNetFrame110sp1fix kbfix kbbug KB820747 kbAudDeveloper