ASP. NET platform requirements

Source: Internet
Author: User
Tags net xml knowledge base
ASP. NET platform requirements (transfer)

Client and server applications support ASP. NET on Windows 2000 (professional, server and Advanced Server), Windows XP Professional, and Windows Server 2003 products. In addition, to Develop ASP. NET Server Applications, you must have the following software:

  • Windows 2000 Server or Advanced Server, Windows XP Professional or 64-bit, or one of the Windows Server 2003 series products with Service Pack 2.
  • MDAC 2.7 for Data
  • Internet Information Service

Note:The platforms supported by XML Web Services created using ASP. NET are the same as those supported by the ASP. net xml Web Services Client. However, all platforms supported by Microsoft. NET Framework support XML Web Services.

For more information, see. NET Framework system requirements.

On Microsoft Windows Server 2003, ASP. NET is installed as a role in the operating system. To deploy an ASP. NET web application to a production server, you must enable the ASP. NET and IIS roles on the production server before distributing the application.

On Microsoft Windows XP and Windows 2000 Server, ASP. NET and. NET Framework are installed together, either separately or as part of Visual Studio. NET. To deploy an ASP. NET web application to a production server, you must ensure that the server has been installed and runs Internet Information Service (IIS) before installing the. NET Framework ). For information about how to install IIS, see the operating system documentation.

Note:You can install. NET Framework 1.1 on a computer that has installed. NET Framework 1.0. If you want to do this, you need to know a lot of specific problems. For more information, see manage multiple versions of ASP. NET.

Note:If ASP. NET and. NET Framework are installed on the server, and then IIS is uninstalled and re-installed, script ing is interrupted and ASP. NET does not work. In this case, you can use ASP. net iis registration tool (aspnet_regiis.exe) to fix ASP. NET script ing. For more information, see ASP. net iis registration tool (aspnet_regiis.exe ).

Note:If. NET Framework 1.1 is installed on the domain controller, the local ASPNET account is not created during the installation process. ASP. NET applications run as other identities. On the Windows 2000 Domain Controller server, ASP. NET applications run as IWAM_machinename. On the Windows 2003 Domain Controller server, ASP. NET applications run as network services (not related to IIS isolation mode ). In some cases, running ASP. net on the domain controller requires you to take additional steps for the installation to work properly. For more information about potential problems with running version 1.1 on the domain controller, see the Microsoft Knowledge Base Article q2017308 "IWAM account is not granted the impersonate privilege for ASP. NET 1.1 on Windows 2000 Domain Controller with SP4 "(the IWAM account is not granted to Windows 2000 Domain Controller installed with SP4 for ASP. NET 1.1 simulated privileges), the knowledge base URL is http://support.microsoft.com. About running on the domain controller. for more information about Net Framework 1.0, see the Microsoft Knowledge Base Article q315158 "ASP. net does not work with the default ASPNET account on a domain controller "(Asp. net does not work with the default ASPNET account on the domain controller), the knowledge base URL is http://support.microsoft.com. ASP. NET and. NET Framework 1.1 are installed together as part of each Windows Server 2003 series product. You only need to add it as a new program through the control panel, or use "Configure your server wizard" to enable it. In addition, you can download version 2000 from the Internet by following the "Install ASP. NET on a computer with Windows XP Professional or Windows 1.0 server installed" procedure described later in this topic. Visual Studio. NET is installed with Version 1.0.

Note:On a server running Windows Server 2003, install ASP in the "Configure your server wizard" or "Add/delete programs" dialog box. net, Asp.. NET is automatically enabled in the IIS manager. However, if you download and install ASP. net from the Web or as part of the application download (such as Visual Studio. NET), you must manually enable ASP. NET. For more information, see "enable ASP. NET in IIS manager on Windows Server 2003 products.

Use the "Configure your server wizard" to install ASP. NET on a server running Windows Server 2003

  1. On the taskbar, click Start, and then click manage your servers. In the manage your servers window, click add or remove roles ".
  2. In the "Configure your server wizard", click "Next". In the "server role" dialog box, select "Application Server (IIS, Asp. and then click Next ".
  3. In the "Application Server options" dialog box, click the "enable ASP. NET" check box, click "Next", and then click "Next ".
  4. If necessary, insert the Windows Server 2003 installation CD in the CD-ROM drive and then click Next ".
  5. After the installation is complete, click "finish ".

Use the "Add/delete programs" dialog box to install ASP. NET on a server running Windows Server 2003.

  1. On the taskbar, click the start button, point to control panel, and click add or delete programs ".
  2. In the Add/delete programs dialog box, click Add/delete Windows Components ".
  3. In the "components" box of the "Windows component wizard", click the "Application Server" check box, and then click "Next ".
  4. After Windows Server 2003 is configured in the Windows component wizard, click Finish ".

On Windows Server 2003, enable ASP. NET in IIS Manager

  1. Click Start on the taskbar and then click Run ".
  2. In the "open" dialog box, enter "inetmgr" and click "OK ".
  3. In IIS manager, expand local computer and click Web Service extension ".
  4. In the right pane, right-click ASP. NET and click Allow ". The ASP. NET status is changed to "allowed ".

When Visual Studio. NET is installed on a computer running Windows XP Professional or Windows 2000 Server,. NET Framework and ASP. NET are automatically installed. To install ASP. NET and. Net frameworks separately, you can download them from the Internet and install them on your server. The following process provides specific steps.

Download and install ASP. NET on a computer running Windows XP Professional or Windows 2000 Server

  1. Install and start IIS if necessary. For installation instructions, see the operating system documentation.
  2. On the http://msdn.microsoft.com/downloads/default.asp, expand software development kit, click Microsoft. NET Framework SDK, and read the requirements, instructions, and options for downloading the SDK on the page.
  3. Click the desired download option, read the End User License Agreement, and then click "yes ).
  4. In the "File Download" dialog box, select Save download file, select the folder to which you want to download the installer and the README file, and then click "save ".
  5. View any latest instructions in the README file.
  6. In the folder where the downloaded file is located, double-click the. NET Framework installer.Setup.exe.

If you have already installed and enabled IIS, ASP is installed. net and.. NET Framework, where the application is deployed and a page is requested, but one of the following error messages is received, which indicates that you have not set the appropriate permissions for the web site or virtual directory:

  • Access to the "C: \ Inetpub \ wwwroot" directory is denied. Failed to start monitoring directory changes.
  • The server cannot access the application directory "C: \ Inetpub \ wwwroot \Virtual directory name\". This directory does not exist or cannot be accessed due to security settings.

On the root web site or any virtual directory, ASP. NET requires the read, execute, and list permissions of the ASPNET account (aspnet_wp.exe process account. These settings are required for ASP. NET to access the content file and monitor file changes. Perform the following steps to correct the problem.

Add the read, execute, and list permissions for the ASPNET account on the Root web site or virtual directory.

  1. In Windows Resource Manager, browse to a folder that contains the root web site (default: C: \ Inetpub \ wwwroot) or virtual directory.
  2. Right-click the folder and click Properties ".
  3. On the Security tab, click Add ".
  4. InputComputername\ ASPnet(For example, enterWebdev \ ASPnet), And then click OK ".
  5. The following permissions are allowed for the ASPNET account: read, execute, list folder content, and read.
  6. Click OK to close the Properties dialog box and save the changes.

Note:If the "everyone" (everyone) group or "user" group can read the root web site or virtual directory, you do not need to perform these steps.

Posted on coolar reading (42) Comments (0) EDIT add to favorites reference network Abstract category: ASP. NET Technology
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.