W3Schools
home HOME Tutorials | References | Examples | Forum | About
Search W3Schools :

ASP Tutorial
ASP HOME
ASP Introduction
ASP Install
ASP Syntax
ASP Variables
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail

ASP Objects
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error

ASP FileSystem
ASP TextStream
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO

ASP Components
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator

ASP Quick Ref
ASP Summary

Examples/Quiz
ASP Examples
ASP Quiz
ASP Exam

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Tutorials
W3Schools Forum

Helping W3Schools

Run ASP on Your PC

previous next

You can run ASP on your own PC without an external server. To do that, you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS) on your PC.


How to Run ASP on your own PC

You can run ASP on your own PC without an external server. To do that, you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS) on your PC.

If you are serious about using ASP, you should have at least Windows 98, Second Edition. 

If you are really serious about using ASP, you should go for Windows 2000.


How to install PWS and run ASP on Windows 95

Personal Web Server (PWS) is not shipped with Windows 95 !!

To run ASP on Windows 95, you will have to download "Windows NT 4.0 Option Pack" from Microsoft.

Download the "Windows NT 4.0 Option Pack"


How to install PWS and run ASP on Windows NT

Personal Web Server (PWS) is not shipped with Windows NT !!

To run ASP on Windows NT, you will have to download "Windows NT 4.0 Option Pack" from Microsoft.

Download the "Windows NT 4.0 Option Pack"


How to install PWS and run ASP on Windows 98

  1. Open the Add-ons folder on your Windows98 CD, find the PWS folder and run the setup.exe file.
  2. An Inetpub folder will be created on your harddrive. Open it and find the wwwroot folder.
  3. Create a new folder, like "MyWeb", under wwwroot.
  4. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder.
  5. Make sure your Web server is running - The installation program has added a new icon on your task bar (this is the PWS symbol). Click on the icon and press the Start button in the window that appears.
  6. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page.

How to install PWS and run ASP on Windows ME

Personal Web Server (PWS) is not included with Windows Me !!

Read article from Microsoft

A workaround!


How to install IIS and run ASP on Windows 2000

  1. From your Start Button, go to Settings, and Control Panel
  2. In the Control Panel window select Add/Remove Programs
  3. In the Add/Remove window select Add/Remove Windows Components
  4. In the Wizard window check Internet Information Services, click OK
  5. An Inetpub folder will be created on your harddrive
  6. Open the Inetpub folder, and find a folder named wwwroot
  7. Create a new folder, like "MyWeb", under wwwroot.
  8. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
  9. Make sure your Web server is running - The installation program has added a new icon on your task bar (this is the IIS symbol). Click on the icon and press the Start button in the window that appears.
  10. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page

How to install IIS and run ASP on Windows XP Professional

Note: You cannot run ASP on Windows XP Home Edition.

  1. Insert the Windows XP Professional CD-Rom into your CD-Rom Drive
  2. From your Start Button, go to Settings, and Control Panel
  3. In the Control Panel window select Add/Remove Programs
  4. In the Add/Remove window select Add/Remove Windows Components
  5. In the Wizard window check Internet Information Services, click OK
  6. An Inetpub folder will be created on your harddrive
  7. Open the Inetpub folder, and find a folder named wwwroot
  8. Create a new folder, like "MyWeb", under wwwroot.
  9. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
  10. Make sure your Web server is running - its status can be checked by going into the Control Panel, then Administrative Tools, and double-click the "IIS Manager" icon
  11. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page

How to install IIS and run ASP on Windows Server 2003 (Windows .NET Server)

  1. When you start the Windows Server 2003, you should see the Manage Your Server wizard
  2. If the wizard is not displayed, go to Administrative Tools, and select Manage Your Server
  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. Select Enable ASP.NET, click Next
  7. Now, the wizard may ask for the Server 2003 CD. Insert the CD and let it run until it is finished, then click the Finish button
  8. The wizard should now show the Application Server role installed
  9. Click on Manage This Application Server to bring up the Application Server Management Console (MMC)
  10. Expand the Internet Information Services (IIS) Manager, then expand your server, and then the Web Sites folder
  11. You should see the Default Web Site, and it should not say (Stopped)
  12. IIS is running!
  13. In the Internet Information Services (IIS) Manager click on the Web Service Extensions folder
  14. Here you will see that Active Server Pages are Prohibited (this is the default configuration of IIS 6)
  15. Highlight Active Server Pages and click the Allow button
  16. ASP is now active!

previous next


Learn XML with <oXygen/> XML Editor - Free Trial!

oXygen - Probably The World's Best XML Editor   

oXygen helps you learn to define, edit, validate and transform XML documents. Supported technologies include XML Schema, DTD, Relax NG, XSLT, XPath, XQuery, CSS.

Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!

Do you have any XML related questions? Get free answers from the oXygen XML forum and from the video demonstrations.

Download a FREE 30-day trial today!



Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2009 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999
E Components
Ecommerce
Components
for ASP.NET
WEB HOSTING
$15 Domain Name
Registration
Save $20 / year!
Buy UK Domain Names
Register Domain Names
Cheap Domain Names
Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
WEB BUILDING
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Custom Programming
FREE Trial or Demo
Web Content Manager
Forms,Web Alerts,RSS
Download XML editor
FREE Web Templates
FREE Website Content
EDUCATION
US Web Design Schools
HTML Exam