Beginner
First select the operating system . Because the ASP is part of MS (Microsoft), we want to select MS's operating system , which Windows 98 can do (Windows Me and Windows XP Home).
Then you build a personal web server (Personnel Web Serice), which is based on the operating system . The configuration is as follows: WIN98+PWS (Personnel Web Serice)/win2000 pro+iis (Internet information Serice)/win2000 Server+iis (Win2000 Server IIS is the default installation)/win2000 Advance Server+iis (here IIS is also the default installation)/winxp+iis/win2003+iis. Here's how to install and configure Pws/iis.
First, PWS installation and configuration: PWS included in the WIN98 of the special dish, to search the Internet can also find a download, and then click on the installation, here is not to say that installed, and other software installation is the same. After installation on the WIN98 desktop will have a "release" icon, in the taskbar clock next to an icon, in the beginning of the-> program will add an item, this is PWS, no matter where you start it can be, the default state is installed after the start. Click Open. Here we have a couple of items to set up. First set the home directory, in the "Advanced", select the home directory to set up, the default is in X:\Inetpub\wwwroot (X: The system disk), you can make changes to the directory you want to change. Then set up the document, this is the default you open your own site file name. There are generally default.html and default.asp, but in general we are used to index.asp and index.htm as the homepage, so here we also add index.asp and index.htm. Now we set up the virtual directory, click on "virtual directory", give the virtual directory to a more vivid name, such as your ASP program is a forum program, named BBS (case-insensitive, preferably not in Chinese name), this name is, and then choose the path of the virtual directory, You are here to choose the path of your own program, such as: d:\ my forum \bbs\. So PWS we are basically configured to complete. Now you can browse your ASP file in IE. Open IE, enter in the Address bar: http://xxx (your computer name or 127.0.0.1 or localhost)/xxxxx (your virtual directory name, That is, you set the name of the virtual directory, if placed under the X:\Inetpub\wwwroot, do not virtual directory, such as Web site: www.knowsky.com)/wwww (filename, if it is default.asp/default.html/ Index.htm/index.asp such a filename can also be omitted. If your ASP file has errors, IE will be an error.
Second, the installation and configuration of IIS. The WIN2000 server/win2000 advance server is installed by default, and if you don't have a choice when you install it, follow the steps below. Win2000 PRO/WINXP pro/win2003 users start-> Control Panel-> Add/Remove Programs-> Add remove Windows programComponentCheck the Internet Information Services (IIS) on the inside and insert the Windows installation CD and click Next, so that you can start installing IIS, and the installation process is a little more commonSoftwareInstall the same, not the point the next step is point completion and determination. Now you are about to configure IIS. Start-> Control Panel-> Management tools->internet information Services. It is turned on to the console of IIS. Dot computer name in front of the + number expansion, and then click on the site before the + number expansion, then there is a default Web site, here is the key to the configuration of IIS we have. Right-click the "Default Web Site" and select "Properties" in the pop-up menu to pop up "properties" to select the top card. In general, do not change the Web site/General tab. Select the Home Directory tab, the local path is your home directory path, where you can click to change to the directory you want to set, the default is: X:\inetpub\wwwroot (X: Represents the system disk). You can also set up user action rights for your site here. When these settings are finished, go to the Documents tab, first tick before "Enable default document", which is ticked by default. Click "Add", you can add a default document, such as Add index.asp, index.htm, index.html, and so on, this is your site by default to open the main file name, here can also be deleted, select the document you want to delete and then click "Delete", now "properties" The tab is basically set up, the point is applied, OK returns to the IIS console. Now it's time to set up the virtual directory (don't set it if your file is under X:\inetpub\wwwroot), right-click the "Default Web Site" and choose "New"-> "virtual directory." Enter the name of the virtual directory, next, select the file path, next, complete. Now we have basically finished the configuration of IIS, now we can use Iis+ie for ASP debugging. Open IE, enter in the Address bar:Http://XXX(Your computer name or 127.0.0.1 or localhost)/xxxxx (your virtual directory name, which is the name you want to set the virtual directory, if you put it under X:\Inetpub\wwwroot, do not virtual directory)/wwww (filename, If it is default.asp/default.html/index.htm/index.asp such a filename can also be omitted not to fill. If your ASP file has errors, IE will be an error.
Well, that's basically it, and it's up to you to fumble slowly. This is still to be done on their own to understand. Other advanced settings to try it on their own to understand, generally have these settings is enough.
Finally said a little: General Pws/iis Error, only the reload system can be restored. In WinXP Pro, there is often a failure to update (add, modify, delete) The database , only read operations, either by reloading IIS, or by reloading another version of WinXP Pro, so WIN2000 Server+iis is recommended ( Win2003 I haven't used it yet).
Finally, I wish you can use Pws/iis successfully build their own perfect ASP operating environment, to establish their own bright web site.