Share via


Enable ASP.NET

Applies To: Windows Server 2003, Windows Server 2003 with SP1

A server running a member of the Microsoft® Windows® Server 2003 family supports application server functionality, with Microsoft ASP.NET as an option that you can enable when configuring the application server role. To deploy ASP.NET Web applications to a production server, you must be sure to enable the ASP.NET and Internet Information Services (IIS) roles on the production server before you distribute the application.

Note

If you want to install ASP.NET on a domain controller, there are special steps you must take to make the installation work properly. For more information, see Knowledge Base article 315158, Fix: ASP.NET does not work with the Default ASPNET Account on a Domain Controller.

Procedures

ASP.NET, along with the .NET Framework version 1.1, is included with Windows Server 2003. You need to install it by using Add or Remove Programs, or enable it by using the Configure Your Server Wizard.

Note

When you use the Configure Your Server Wizard or the Add or Remove Programs dialog box to install ASP.NET on a server running Windows Server 2003, ASP.NET is automatically enabled in IIS Manager. However, if you install ASP.NET from a Web download or as part of an application such as Microsoft® Visual Studio®.NET, you must enable ASP.NET manually, as described later in this section.

To enable ASP.NET on a server running Windows Server 2003 by using the Configure Your Server wizard

  1. Click Start, and then click Manage Your Server.

  2. In the Manage Your Server window, click Add or remove a role.

  3. In the Configure Your Server wizard, click Next.

  4. In the Server Role dialog box, click Application Server (IIS, ASP.NET) and then click Next.

  5. In the Application Server Options dialog box, select the Enable ASP.NET check box.

  6. Click Next, and then click Next again.

  7. If you are prompted to do so, insert your Windows Server 2003 installation CD in the CD-ROM drive, and then click Next.

  8. When the installation is complete, click Finish.

To enable ASP.NET on a server running Windows Server 2003 by using Add or Remove Programs

  1. In Control Panel, click Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. In the Components box in the Windows Components Wizard, select the Application Server check box, and then click Details.

  4. In the Application Server dialog box, select the ASP.NET check box, and then click OK.

  5. In the Windows Components Wizard, click Next to begin installing ASP.NET.

  6. When the Windows Components Wizard has finished configuring Windows Server 2003, click Finish.