Running ASP on Your PC

You can run ASP on your PC.

Use your Windows PC as a Web server

If you have installed IIS or PWS, 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

IIS is a collection of Internet services based on Microsoft's development and used on the Windows platform.

Windows 2000, XP, Vista, and Windows 7 all provide IIS. Windows NT can also use IIS.

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

PWS - Personal Web Server

PWS is used for 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 unless it is for training. It is outdated and has security issues.

Windows Web Server version

Windows version Whether to provide or support
Windows 7 (all versions) Provide IIS 7.5
Windows Server 2008 Provide IIS 7
Windows Vista Business, Enterprise, and Ultimate Provide IIS 7
Windows Vista Home Premium Provide IIS 7
Windows Vista Home Edition Does not support PWS or IIS
Windows Server 2003 Provide IIS 6
Windows XP Professional Provide IIS 5.1
Windows XP Home Edition Does not support IIS or PWS
Windows 2000 Professional Provide IIS 5.0
Windows NT Professional Provide IIS 3 and support IIS 4
Windows NT Workstation Supports PWS and IIS 3
Windows ME Does not support PWS or IIS
Windows 98 Provide PWS
Windows 95 Supports PWS

How to install IIS on Windows 7 and Windows Vista

Please follow the following four steps to install IIS:

  1. Open the Control Panel from the Start menu
  2. Double-click 'Programs and Features'
  3. Click 'Turn Windows features on or off'
  4. Select the check box for 'Internet Information Services' and then click OK

After you have completed the installation of IIS, please make sure to install all patches (run Windows Update).

How to install IIS and run ASP on Windows Server 2003

  1. After you start Windows Server 2003, you will seeServer Management Wizard
  2. If the wizard does not appear, you can openManagement Tools, and then select “Configure Your Server Wizard
  3. After the prompt appears, click Next
  4. Subsequently, a "Preparation Steps" prompt will appear, click Next, and then the system will automaticallySearch for system service components installed on this computer
  5. In the subsequent Server Roles window, select Application Server and then click Next
  6. SelectEnable ASP.NET
  7. Subsequently, the wizard will prompt the general installation process of this component, please click Next
  8. Now, the wizard will request Server 2003 CD. Please insert the CD and continue running the wizard.
  9. Finally, the wizard will prompt "This server is currently an application server".
  10. After clicking finish, you will find that ",
  11. Click "Manage This Application Server" to openApplication Server Management Console (MMC)
  12. ExpandInternet Information Services (IIS) ManagerThen expand your server, and then the site folder.
  13. You will see the default website, and its status should be running.
  14. Click "“”
  15. SelectActive Server Pages, and then clickAllowButton, and then ASP is activated!

How to install IIS and run ASP on Windows 2000

  1. StartButton - Settings - Control Panel
  2. Select in the Control PanelAdd/Remove Programs
  3. Select Add/Remove Programs in the Add/Remove ProgramsAdd/Remove Windows Components
  4. Select in the wizard window Internet Information Servicesand then click OK
  5. Inetpub The folder will be created on the hard disk
  6. Open the Inetpub folder, find the one named wwwroot folder
  7. Under wwwrootCreate a new folder, such as "MyWeb"
  8. Use a text editorWrite a few lines of ASP code, name the file "test1.asp", and save it in the "MyWeb" folder.
  9. Make sure your server is running - the installation program will create an IIS icon in the system tray. Click this icon, then click the Start button in the new window that appears.
  10. Open the browserType "http://localhost/MyWeb/test1.asp" in the address bar, and you can see your first ASP page.

How to install IIS and run ASP on Windows XP Professional

  1. Insert the Windows XP Professional CD into the CD-Rom drive
  2. Start Menu,Settings,Control Panel
  3. Select in the Control PanelAdd/Remove Programs
  4. Select Add/Remove Programs in the Add/Remove ProgramsAdd/Remove Windows Components
  5. Select in the wizard window Internet Information Servicesand then click OK
  6. Inetpub folderwill be created on the hard disk
  7. Open the Inetpub folder, find the one named wwwroot folder
  8. under wwwrootCreate a new folder, such as "MyWeb"
  9. Use a text editorWrite a few lines of ASP code, name the file "test1.asp", and save it in the "MyWeb" folder.
  10. Make sure your server is running, and confirm its running status using the following method: go toControl PanelThen go toManagement ToolsThen double-click "IIS Manager"icon."
  11. Open the browserType "http://localhost/MyWeb/test1.asp" in the address bar, and you can see your first ASP page.

Tip:Windows XP Home Edition cannot run ASP.

How to run ASP on older versions of Windows operating systems

How to install PWS on Windows 95 and run ASP

Windows 95 does not include PWS!!

To run ASP on Windows 95, you must download the "Windows NT 4.0 Option Pack" from the Microsoft site.

Download "Windows NT 4.0 Option Pack"

How to install PWS on Windows NT and run ASP

Windows NT does not include PWS!!

To run ASP on Windows NT, you must download the "Windows NT 4.0 Option Pack" from the Microsoft site.

Download "Windows NT 4.0 Option Pack"

How to install PWS on Windows 98 and run ASP

  1. Open the Add-ons folder on the Windows 98 CD, find the PWS folder, and run the setup.exe file in it.
  2. The installation program will create an Inetpub folder on the hard disk. Open this folder and find the wwwroot folder.
  3. Then create a new folder under the wwwroot folder, such as "MyWeb".
  4. Write a few lines of ASP code using a text editor, name the file "test1.asp", and save it in the "MyWeb" folder.
  5. Make sure your server is running - the installation program will create a PWS icon in the system tray. Click on this icon, and then press the Start button in the new window that appears.
  6. Open the browser, type "http://localhost/MyWeb/test1.asp" in the address bar, and you can see your first ASP page.

How to install PWS on Windows ME and run ASP

Windows ME does not include PWS!!

Read the information on the Microsoft site

Installation method from Bill James.