Document directory
- 1. Download and install iis5.1
- 2. Deploy a website under iis5.1
First, declare that my execution environment is Windows XP SP3, iis5.1
1. iis5.1 download and installation provides a download URL: http://www.cr173.com/soft/2482.html IIS Installation Method
1. Install IIS (download the IIS installation package on the network. Version 5.1 is suitable for SP3. My system is SP3 and it is okay to install it countless times)
Unzip the IIS installation package
Click → add or delete Windows Components
Select → Internet Information Service (IIS)
Click "details" and select "(subcomponents of Internet Information Service (IIS)
Click Next → browse to your installation package and start installation. If a prompt is displayed, select the file to be installed in the IIS installation package. DLL files. In short, the system prompts you what files you want. You can find all the files in the installation package.
If this occurs (the files required for running Windows have been replaced with unrecognizable versions. To ensure system stability, windows must restore the original versions of these files)
This dialog box does not need to be edited.
Installation is complete.
Possible problems and solutions during IIS installation 1. iis6.0 and 5.0 cannot be installed in the XP System
2. I do not know how to install it after the download.
3. the pop-up dialog box Indicating that files cannot be copied and the system is modified during installation and whether to continue the dialog box is very depressing. Question 1: 1. You need to know what your system is like before installing IIS, the home version is hard to install, but it seems that there are installation methods on the Internet. If you have used the home version, you have never tried it. If you are using the home version, you can try it. If your system is in the family version, you should know that Windows 98 can only be installed with pws4.0; Windows 2000 --- iis5.0; Windows 2003 --- iis6.0; Windows XP --- iis5.1. if you are not using the System Disk for installation, download the IIS you want to install online!
Problem 2: My system is XP, So I installed 5.1. Decompress the package and place it anywhere on your hard disk. Start/set/control panel/[Add/delete programs]/[Add/delete Windows Components], and then check the box next to Internet Information Service in the Windows component wizard, (Note: Do not follow the next step. Click the details to check if all the boxes in the box are checked. If not, select all. Otherwise, Problem 4 may occur ). Now, follow the next step to ask you to insert a CD, no disk, Click Browse, select the path where IIS is stored, and then confirm, here you may have problem 3, if it doesn't show up, you're lucky!
Question 3: If the file cannot be found during installation, or the file cannot be copied, do you know why? It is a disaster caused by windons games. ). Re-install. Is it found? In this case, a dialog box will pop up to allow you to re-select the path, and then select another one. However, note that the path is followed by an i386, and you have taken it and confirmed it. The dialog box Indicating that your system is not modified may pop up, and you can cancel it directly. Now you can take a break. You may have installed it successfully, but don't be so happy, if you haven't encountered any problems, you're lucky!
2. Deploy a website under iis5.1
1. Install the framework SDK V2.0. (If you have installed vs, you do not need to install it. VS has installed the framework)
2. copy the website folder path. If you have installed vs, the default path of your website is D: \ My Documents ents \ Visual Studio 2005 \ websites. If you have not installed vs, place it wherever you are.
3. click Start → program → Administrative Tools → intern Information Service → right-click the default website → create a virtual directory → name casually → the directory path is where your website folder is placed. (This step can be left empty without creating a virtual directory)
After that, right-click the default website → properties → select in the main directory → set the local path → browse to your website folder directory (you must set the path)
4. If your computer address is a static IP address, you can also configure the IP address in "default website" right-click "attribute". Generally, the port number is 80 and will not change.
4. Click Windows Firewall → click Advanced → click the first setting → select the Web Server HTTP
Possible problems and solutions for website deployment in IIS
4. No default website exists on the Internet Information Server after installation.
5. After installation, enter http: // localhost in the address bar, and the server application error is 500.
6. After installation, the website cannot be started by default.
Question 4: if you cannot see the default website, open Internet Information Service in [Add/delete windows organization]. The details are all checked. If not, reinstall it!
Problem 5: I do not know why this problem occurs. I do not know if it has occurred. The solution is as follows: start> set> Control Panel> Administrative Tools> component service, "console root directory"-> "component service"-> "computer"-> "my computer"-> "COM + application, there is an "IIS Out-of-process pooled" right-click "attribute" -- "ID" -- Adjust "this user" to "Interactive User -- currently logged-on user ". Then, click "OK" and Right-click "properties"> "start ". Another problem here is that "IIS Out-of-process pooled" cannot be found, and there is no such problem! Why
? Don't worry! Start/run, enter MSDTC-resetlog, and then reinstall IIS. Now you should be able to see IIS Out-of-process pooled!
Question 6: It's hard to install it. You can enter http: // localhost in the address bar and the webpage cannot be displayed. It's depressing! After careful consideration, the website is not started by default. Right-click to start and the prompt "the server did not respond to the startup or control request in a timely manner" is found on the Internet, which indicates that there is a problem with the World Wide Web Publishing Services, if it is found that it is not started, an error may occur when it can be started and cannot be started. What should I do? Check again and delete an Update file. The correct method is as follows: Start/set/control panel/[Add/delete programs]. check "display Update file" at the top, locate kb939373, and delete it. Start/set/control panel/management tools/services and find the world
Wide Web Publishing Services, start it, change the startup mode to automatic, and return to the default website startup to see if it can be started. Then, the result is finally displayed.
Question 5 is the most likely to occur in appeal. Therefore, be careful that the MSDTC-resetlog command does not respond, so do not think it is not executed.
In addition, if you are using a website developed by vs2008, the following occurs at runtime:
The name must start with an invalid character. An error occurred while processing the resource 'HTTP: // localhost/ziboweb/ziboservice. asmx. Row 1st, Location: 2
<% @ WebService Language = "VB" codebehind = "~ /App_code/ziboservice. VB "class =" service "%>
-^
Solution: run the vs2005 command line (start/Program/vs2005/tools), open the command prompt, or directly enter the path below in cmd
E: \ Program Files \ Microsoft Visual Studio 8 \ Vc>
Run aspnet_regiis.exe/I to Solve the Problem 5 (server application error occurs). The solution is as follows: Run MSDTC-resetlog in the Start menu to create a log file. Restart the machine and check whether IIS can be used normally. If not, continue.
Run the following command in cmd:
Cd % WINDIR % \ system32 \ inetsrv
Rundll32 wamreg. dll, createiispackage
Regsvr32 asptxn. dll
(I can use it here, without restarting)