IIS installation and can not run iis solution

  

1, how to install IIS Step 1: IIS installation

(1) In the control panel, select “ add /remove programs & rdquo;, appear in In the dialog box, select “Add/Remove Windows Components”.

(2) Select to install Internet Information Services (IIS) in the check box that appears, this component requires about 19MB.

(3) Click “Next”, and put the Win2000 installation CD into the CD-ROM drive, the installation program can copy the program file to the hard disk, click “End”

2, the basic configuration of the Web server in IIS

The basic configuration of the Web server in IIS mainly includes the following parts:

(1) Open the configuration window of the IIS server, Select “Start”→“Program”→“Administrative Tools”→“Internet Service Manager>, or “Select”→“Control Panel”→“ Management Tools & rdquo; & rarquo; & ldquo; Internet Service Manager & rdquo; Also, open the window shown in Figure 3.

(2) In the window that opens, right-click on the "Default Web Site" and select the "Properties" menu.

(3) In the "Default Web Site Properties" window that appears, select the "Main Directory" tab to set the location of the Web content on the hard disk. The default directory is "C: \\Inetpub\\Wwwroot”, you can set it yourself as needed (Figure 4).

(4) In the Properties window, select the "Documents" tab and set your default home page name, for example, "Myfirstweb.htm", add it and move it to the top of the list (Figure 5).

(5) Confirm that the default Web site has been started. If there is no right mouse click, click “Default Web Site”, select “Start” and type in the open IE address bar. IP address, you can see that the home page you have specified has started to be published on the Internet.

Here is just the most basic setup options for IIS. You can also configure the above mentioned "Default Web Site Properties" as needed to configure IIS security and other parameters.

IIS is easy to use, but in the case of default installation, it also has a lot of security vulnerabilities, including the famous Unicode vulnerability and CGI vulnerability, so after the IIS installation is completed, it is recommended to continue to download and install on the Microsoft homepage. They provide security vulnerability patches SP1 and SP2. In addition, it is recommended to convert the disk file system to NTFS format. The partition of the installation system can be converted in the system installation, or can be converted by tools such as PQMagic after the system is installed.

3, what is the number of IIS connections?

The number of IIS connections refers to the number of accesses to the 80 ports accessed by the IP address, which is the number of times the website file is called, not equal to the number of simultaneous users. .

IIS connection number, I can introduce: If a door is 4 meters, each person is 0.5 meters wide, then 8 people can be allowed to pass at the door at the same time, that is, the IIS of this door is 8, In 10 minutes, maybe 100 people will pass this door, then the online number of this forum may be 100, then IIS is 8, is it to allow 8 people to request data at the same time? No, because the program is different The number of IISs used by each program is different. Maybe it is a 2 meter wide fat person, then only 2 people can be allowed to pass at the same time. That is:

(1), IIS is the number of units requested at the same instant, this is not equal to IP.

(2), an IP may occupy more than one IIS at a time, such as a fat man, accounting for 4 individuals IIS.

(3), IIS is the number of simultaneous concurrent, and online statistics is the amount of throughput, one is the number of people allowed to pass at the door, one is said at this time How many people entered this doorway.

4, IIS can not run ASP programs?

Before analyzing the problem, try to access the pure static web page (the suffix with htm or html) in the website. If it is not displayed properly, the problem itself is not on the ASP.

Check the IIS settings to see if the settings are set to "Execute Settings - Execute Permissions - Pure Scripts", "Configure - Map" has an asp extension. After the IIS settings are checked, proceed to the next steps.

1. If the website itself has Global.asa, rename it to Global.old and restart the website. Write the code in Notepad and save it as a test.asp file, which is accessed in the browser. If it can be displayed normally, the problem is in the Global.asa file.

<%Response.Write "This is a test ASP page."%>

2, set the application protection to "low", restart the IISadmin thread, If the ASP page can be read in the browser at this time, there is a problem with the IWAM account. If you still can't access the ASP page, check the “Administrative Tools>component service” to make sure you can see the IIS package.

Attachment: If you encounter component service can not open (may be caused by the application full CPU), add and delete in the control panel, re-add the remove component service, and then restart the computer.

3, return the application protection to "in" or "high", add the IWAM account to the Administrator group, if the ASP page can be browsed at this time, IWAM has a permission problem. If ASP still does not display properly, run the Synsiwam.vbs tool in the DOS window using the command line.

C:\\Inetpub\\adminscripts>cscript synciwam.vbs

4. Resolve the permissions of the IWAM account. Well, this is a long story, and I will post an article separately.

5, Re-establish the IIS packages method:

Delete the following packages in the component service

IIS In-Process Applications

IIS Out-of- Process Pooled Applications

IIS Utilities

Re-create the package by typing the following command in the DOS window

%windir%\\system32\\inetsrv rundll32 wamreg.dll, CreateIISPackage

Turn off the component manager and re-open it. After seeing the three newly created packages, restart IIS (IISRESET) to check if the ASP page can be browsed normally.

Copyright © Windows knowledge All Rights Reserved