Export (0) Print
Expand All

How to: Find the Name of the ASP.NET Process

This topic applies to:

Visual Studio

Visual Basic

C#

C++

J#

Visual Web Developer

Express

No

No

No

No

No

Standard

Yes

Yes

Yes

Yes

Yes

Pro/Team

Yes

Yes

Yes

Yes

Yes

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

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

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

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

ATL Server projects run inside the IIS process inetinfo.exe. Older ASP applications also 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.

Determining if project code resides on the file system or IIS

  1. In Visual Studio 2005, 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.

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

Determining the IIS version under which the application is running

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

    In Windows XP, the Control Panel can be in Category View or Classic View. In Category View, you need 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.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft