ASP installation



You can run ASP on your PC.


Configure your Windows PC as a Web server

  • If you have IIS or PWS installed, you can configure your PC as a Web server.

  • IIS or PWS can turn your computer into a web server.

  • Microsoft's IIS and PWS are free web server components.


IIS - Internet Information Server (Internet Information Service)

IIS is a collection of Internet-based services, developed by Microsoft, on the Microsoft Windows platform use.

IIS is available on Windows 2000, XP, Vista, and Windows 7. IIS is also available for Windows NT.

IIS is easy to install and is an ideal tool for developing and testing web applications.


PWS - Personal Web Server

PWS is used on older Windows systems such as Windows 95, 98 and NT.

PWS is easy to install and can be used to develop and test Web applications containing ASP.

We do not recommend using PWS except for training. It is outdated and has security issues.


Windows Web Server Version

  • Windows 7 (all versions) comes with IIS 7.5

  • Windows Vista Business , Enterprise and Ultimate editions come with IIS 7

  • Windows Vista Advanced Home Edition comes with IIS 7

  • Windows Vista Home Edition does not support PWS or IIS

  • Windows XP Professional Edition comes with IIS 5.1

  • Windows XP Home Edition does not support IIS or PWS

  • Windows 2000 Professional Edition comes with IIS 5.0

  • Windows NT Professional Edition comes with IIS 3 and also supports IIS 4

  • Windows NT Workstation supports PWS and IIS 3

  • Windows ME does not support PWS or IIS

  • Windows 98 comes with PWS

  • Windows 95 supports PWS


#How to install IIS on Windows 7 and Windows Vista

Please follow the following steps to install IIS :

  1. Open Control Panel from the Start menu

  2. Double-click "Programs and Features"

  3. Click "Turn Windows features on or off"

  4. Select the checkbox for "Internet Information Services (IIS)" and click OK

After you After installing IIS, make sure to install all service packs (run Windows Update).


How to install IIS on Windows XP and Windows 2000

Please follow the following steps to install IIS:

  1. In the Start menu , click Settings and select Control Panel

  2. Double-click "Add/Remove Programs"

  3. Click "Add/Remove Windows Components"

  4. Click "Internet Information Services (IIS)"

  5. Click "Details"

  6. Select" World Wide Web Service" check box, click OK

  7. In Windows Components, click "Next" to install IIS

After you install IIS, make sure to install all service packs (run Windows Update).


Test your installation

After you install IIS or PWS, follow the steps below to test whether the installation is successful:

  1. In Find the folder named Inetpub on your hard drive

  2. Open the Inetpub folder and find the folder named wwwroot

  3. Create a new folder under wwwroot, such as "MyWeb"

  4. Use a text editor to write a few lines of ASP code and name the file "test1.asp" is saved in the "MyWeb" folder

  5. Make sure your Web server is running, use the following method to confirm its running status: Go to Control Panel, then Management Tools and double-click the "IIS Manager" icon.

  6. Open your browser, type "http://localhost/MyWeb/test1.asp" in the address bar, and you will see your first ASP page.

Notes: Look for the IIS (or PWS) symbol in your Start menu or taskbar. The program provides functions for starting and stopping the Web server, enabling and disabling ASP, and more.


How to install PWS on Windows 95, Windows 98, and Windows NT

Windows 98: Open the Add-ons folder on your Windows CD, Locate the PWS folder and run the setup.exe file there to install PWS.

Windows 95 or Windows NT: Download the "Windows NT 4.0 Option Pack" from Microsoft's site to install PWS.

Test your installation according to the previous description.


How to install IIS on Windows Server 2003

  1. When you start Windows Server 2003, you will see the Server Management Wizard

  2. If the wizard does not appear, open Administrative Tools and select Configure your server wizard

  3. In the wizard, click Add or Remove a Role, click Next

  4. Select Custom configuration, click Next

  5. Select Application Server Role, click Next

  6. SelectEnable ASP.NET, Click Next

  7. Now the wizard will request the Server 2003 CD. After inserting the CD continue running the wizard until it completes and click the Finish button

  8. The wizard should now say "Application Server Role Installed"

  9. Click Manage this application serverOpen Application Server Management Console (MMC)

  10. ExpandInternet Information Services (IIS) Management Server, then expand your server, then the sites folder

  11. You will see the default website and its status should be Running

  12. IIS is running!

  13. In Internet Information Services (IIS) Manager click on the Web Services Extensions folder

  14. here , you will see that Active Server Pages is disabled (this is the default configuration of IIS 6)

  15. checkActive Server Pages, And click the Allow button

  16. so that the ASP is activated!