Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Debugger
How to: Find the Name of the ASP.NET Process

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not applyTopic does not applyTopic does not applyTopic does not apply

Standard

Topic appliesTopic appliesTopic appliesTopic applies

Pro and Team

Topic appliesTopic appliesTopic appliesTopic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

To attach to a running ASP.NET application, you have to know the name of the ASP.NET process: 

  • If you are running IIS 6.0, the name is w3wp.exe.

  • If you are running an earlier version of IIS, the name is aspnet_wp.exe.

For applications built by using Visual Studio 2005 or later versions, the ASP.NET code can reside on the file system and run under the test server WebDev.WebServer.exe. In that case, you must attach to WebDev.WebServer.exe instead of the ASP.NET process. This scenario applies only to local debugging.

Older ASP applications run inside the IIS process inetinfo.exe when they are running in-process.

NoteNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To determine whether project code resides on the file system or IIS

  1. In Visual Studio, open Solution Explorer if it is not already open.

  2. Select the top node that contains the name of the application.

  3. If the Properties window title contains a file path, the application code resides on the file system.

    Otherwise, the Properties window title will contain the name of the Web site.

To determine the IIS version under which the application is running

  1. Find Administrative Tools and run it. Depending on your operating system, this might be an icon inside Control Panel, or a menu entry that appears when you click Start.

    In Windows XP, Control Panel can be in Category View or Classic View. In Category View, you have to click Switch to Classic View or Performance and Maintenance to see the Administrative Tools icon.

  2. From Administrative Tools, run Internet Information Services. An MMC dialog box appears.

  3. If there is more than one computer listed in the left pane, select the one on which the application code resides.

  4. The IIS version is in the Version column of the right pane.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker