Latest web development tutorials

Run ASP on your own PC

You can run ASP on your own PC.


Put your Windows PC as a Web server

  • If you installed IIS or PWS, you can put your PC is configured as a Web server.
  • IIS or PWS can turn your computer into a Web server.
  • Microsoft IIS and PWS are free Web server components.

IIS - Internet Information Server (Internet Information Services)

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

Windows 2000, XP, Vista and Windows 7 is available in IIS. Windows NT can also be used IIS.

IIS is easy to install, is to develop and test web applications ideal tool.


PWS - Personal Web Server

PWS for older Windows systems, such as Windows 95,98 and NT.

PWS is easy to install, can be used for Web application development and test contains the ASP.

We do not recommend using PWS, except for training. It is outdated and there is a security problem.


Windows Web Server Version

  • Windows 7 (all versions) comes with IIS 7.5
  • Windows Vista Business, Enterprise and Ultimate Edition comes with IIS 7
  • Windows Vista Home Premium 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, also supports IIS 4
  • Windows NT Workstation support PWS and IIS 3
  • Windows ME does not support PWS or IIS
  • Windows 98 comes with PWS
  • Windows 95 support PWS

How to Install IIS on Windows 7 and Windows Vista

Please install IIS according to the following steps:

  1. Open the Control Panel from the Start menu
  2. Double-click the "Programs and Features"
  3. Click "Turn Windows features"
  4. Select "Internet Information Services (IIS)" check box, and then click OK

After you install the complete IIS, be sure to install all patches (Run Windows Update).


How to install IIS on Windows 2000 and Windows XP

Please install IIS according to the following steps:

  1. On the Start menu, click Settings, and select Control Panel
  2. Double-click the "Add / Remove Programs"
  3. Click on the "Add / Remove Windows Components"
  4. Click on "Internet Information Services (IIS)"
  5. Click on "details"
  6. Select "Web services" check box, and click OK
  7. In the Windows Components, click "Next" to install IIS

After you install the complete IIS, be sure to install all patches (Run Windows Update).


Test your installation

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

  1. Find namedInetpub on your hard disk folder
  2. Open the Inetpub folder, and find a folder namedwwwroot
  3. Create a new folder in wwwroot, such as "MyWeb"
  4. Use a text editor to write a few lines of ASP code, this file is named "test1.asp" save "MyWeb" folder
  5. Make sure your Web server is running, use the following method to confirm its operating status: Go to Control Panel, then Administrative Tools, and then double-click the "IIS Manager" icon.
  6. Open your browser, type in the address bar "http: //localhost/MyWeb/test1.asp", you can see the first ASP page.

Note: Find IIS (or PWS) symbol in your Start menu or the taskbar.Program provides many more features start and stop the Web server, enable and disable ASP, as well.


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

Windows 98:Add-ons to open the file on your Windows CD folder, find the PWSfolder and run thesetup.exefile to install PWS.

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

According to the foregoing description to test your installation.


How to Install IIS on Windows Server 2003

  1. When you start Windows Server 2003, you'll see theServer Administration Guide
  2. If the wizard does not appear, openAdministrative Tools, and then select Configure Your Server Wizard
  3. In the wizard, clickAdd or Remove a Role, click Next
  4. SelectCustom Configuration and click Next
  5. Select theapplication server role, click Next
  6. SelectEnable ASP.NET, and click Next
  7. Now, the wizard asksServer 2003 CD.After inserting the CD continue to run the wizard until finished, then click the Done button
  8. Wizard should now display "Application server role has been installed."
  9. ClickManage this application server open the Application Server Management Console (MMC)
  10. ExpandInternet Information Services (IIS) Manager, and then expand your server, then the site folder
  11. You'll see the default Web site, and its status should be run
  12. IIS is running!
  13. In theInternet Information Services (IIS) Manager, click Web Service Extensionsfolder
  14. Here, you will see theActive Server Pages is prohibited (this is the default configuration of IIS 6)
  15. SelectActive Server Pages, and click the Allowbutton
  16. So ASP is activated!