YouTip LogoYouTip

Asp Install

* * * You can run ASP on your own PC. * * * ## Turn Your Windows PC into a Web Server * If you install 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-based services developed by Microsoft for use on the Microsoft Windows platform. Windows 2000, XP, Vista, and Windows 7 all provide IIS. 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 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 except for training purposes. It is outdated and has security issues. * * * ## Windows Web Server Versions * Windows 7 (all versions) comes with IIS 7.5 * Windows Vista Business, Enterprise, and Ultimate come with IIS 7 * Windows Vista Premium Home Edition comes with IIS 7 * Windows Vista Home Edition does not support PWS or IIS * Windows XP Professional comes with IIS 5.1 * Windows XP Home Edition does not support IIS or PWS * Windows 2000 Professional comes with IIS 5.0 * Windows NT Professional 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 Follow these 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)", then click OK After you install IIS, make sure to install all patches (run Windows Update). * * * ## How to Install IIS on Windows XP and Windows 2000 Follow these steps to install IIS: 1. On 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 the "World Wide Web Service" checkbox, click OK 7. In Windows Components, click "Next" to install IIS After you install IIS, make sure to install all patches (run Windows Update). * * * ## Test Your Installation After installing IIS or PWS, follow these steps to test if the installation was successful: 1. Look for a 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, for example, "MyWeb" 4. Write a few lines of ASP code using a text editor, save this file as "test1.asp" in the "MyWeb" folder 5. Make sure your web server is running, confirm its running status by: going to Control Panel, then Administrative Tools, and double-clicking the "Internet Information Services (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. **Note:** Look for the IIS (or PWS) symbol in your Start menu or taskbar. The program provides options to start and stop the web server, enable and disable ASP, and many other features. * * * ## How to Install PWS on Windows 95, Windows 98, and Windows NT Windows 98: Open the **Add-ons** folder on your Windows CD, find the **PWS** folder, and run the **setup.exe** file within to install PWS. Windows 95 or Windows NT: Download the "Windows NT 4.0 Option Pack" from Microsoft's website to install PWS. Test your installation as described earlier. * * * ## How to Install IIS on Windows Server 2003 1. When you start Windows Server 2003, you will see the **Configure Your Server Wizard** 2. If the wizard does not appear, open **Administrative Tools**, then 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. Select **Enable ASP.NET**, click Next 7. Now, the wizard will request the **Server 2003 CD**. Insert the CD and proceed through the wizard until it finishes, then click the Finish button 8. The wizard should now show "Application Server role installed" 9. Click **Manage this application server** to open the **Application Server Management Console (MMC)** 10. Expand **Internet Information Services (IIS) Manager**, then expand your server, then the Web Sites folder 11. You will see the Default Web Site, and its status should be Running 12. IIS is running! 13. Click on the **Web Service Extensions** folder in **Internet Information Services (IIS) Manager** 14. Here, you will see that **Active Server Pages is Prohibited** (this is the default configuration for IIS 6) 15. Select **Active Server Pages** and click the **Allow** button 16. Now ASP is activated!
← Asp SyntaxAsp Intro β†’