Installing ASP.NET
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
ASP.NET is supported on the Windows Server™ 2003 family, Windows 2000 (Professional, Server, and Advanced Server), and Windows XP Professional for both client and server applications.
A server running a member of the Microsoft Windows Server 2003 family can be configured as an application server, with ASP.NET as an option that you can enable while 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 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 correctly. For more information, see Knowledge Base article Q315158, ASP.NET Does Not Work with the Default ASPNET Account on a Domain Controller.
ASP.NET, along with the .NET Framework version 1.1, is installed as a part of Windows Server 2003. You simply need to add it as a new program from Control Panel 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 Visual Studio .NET, you must enable ASP.NET manually. For instructions, see the "To enable ASP.NET in IIS Manager on a server running Windows Server 2003" procedure, later in this topic.
Procedures
To install ASP.NET on a server running Windows Server 2003 using the Configure Your Server wizard
From the Start menu, click Manage Your Server; in the Manage Your Server window, click Add or remove a role.
In the Configure Your Server Wizard, click Next, and in the Server Role dialog box, check Application Server (IIS, ASP.NET) and then click Next.
In the Application Server Options dialog box, select the Enable ASP.NET check box, click Next, and then click Next again.
If necessary, insert your Windows Server 2003 installation CD in the CD-ROM drive and then click Next.
When the installation is complete, click Finish.
To install ASP.NET on a server running Windows Server 2003 using the Add or Remove Programs dialog box
From the Start menu, point to Control Panel, and then click Add or Remove Programs.
In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
In the Components box in the Windows Components wizard, select the Application Server check box, and then click Next.
When the Windows Components wizard has finished configuring Windows Server 2003, click Finish.
To enable ASP.NET in IIS Manager on a server running Windows Server 2003
From the Start menu, click Run.
In the Open box in the Run dialog box, type inetmgr, and then click OK.
In IIS Manager, expand the local computer and then click Web Service Extensions.
In the details pane, right-click ASP.NET and then click Allow. The status of ASP.NET changes to Allowed.
Note
If your applications require ISAPI, CGI, ASP, WebDAV, or other extensions to operate, you must enable those extensions also.
Related Information
For general information about ASP.NET setup, see Overview of ASP.NET Setup.
For information about uninstalling ASP.NET, see Uninstalling ASP.NET.
For information about troubleshooting an installation of ASP.NET, see Troubleshooting an ASP.NET Installation.