Export (0) Print
Expand All

How to: Run aspnet_wp.exe Under a User Account

This topic applies to:

Visual Studio Edition

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 set up your machine so you can run the ASP.NET worker process under a user account, perform the following steps.

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.

Procedure

To run aspnet_wp.exe under a user account

  1. Open the machine.config file, located on your machine in the CONFIG folder under the path where you installed the runtime.

  2. Find the <processModel> section and change the user and password attributes to the name and password of the user account you want aspnet_wp.exe to run under.

  3. Save the machine.config file.

  4. On Server 2003, IIS 6.0 is installed by default. The corresponding worker process is w3wp.exe.To run in IIS 5.0 mode with aspnet_wp.exe as the worker process, you must do the following steps:

    1. From the Start menu, click Administrative Tools and then choose Internet Information Services.

    2. In the Internet Information Services dialog box, right-click the Web Sites folder and choose Properties.

    3. In the Web Sites Properties dialog box, choose Service.

    4. Select Run WWW service in IIS5.0 isolation mode.

    5. Close the Properties dialog box and Internet Services Manager.

  5. Open a Windows Command Prompt and reset the server by running:

    iisreset
    

    --or--

    net stop iisadmin /y
    net start w3svc
    
  6. Find the Temporary ASP.NET Files folder, which should be in the same path as the CONFIG folder. Right-click the Temporary ASP.NET Files folder and choose Properties from the shortcut menu.

  7. In the Temporary ASP.NET Files Properties dialog box, choose the Security tab.

  8. Click the Advanced button.

  9. In the Advanced Security Settings for Temporary ASP.Net Files dialog box, click the Add button.

  10. In the Select User, Computer, or Group dialog box, enter the user name (in the form DomainName\UserName) in the Enter the object name to select box, and then click OK.

  11. In the Permission Entry for Temporary ASP.NET Files dialog box, give the user Full Control, and then click OK to close the Entry for Temporary ASP.NET Files dialog box.

  12. A Security dialog box will appear, asking if you really want to change the permissions on a system folder. Click Yes.

  13. Click OK to close the Temporary ASP.NET Files Properties dialog box.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft