IIS installation procedure (from: IIS

Source: Internet
Author: User

The installation process is as follows.

 

1. Confirm the computing name my computer-> right-click Properties-> computer name-> confirm the computer name, preferably not the special one.

2. For the full version of XP, go to Control Panel> add and delete Programs> add and delete Windows Components.

-> Select IIS and install IIS in the next step.

3. If it is a simple version of XP, there will be more problems during installation.

It usually takes a hard time.

3. 1. Start first-> Run-> Enter cmd mode and run the following command

Regsvr32 urlmon. dll

Regsvr32 actxprxy. dll

Regsvr32 shdocvw. dll

Regsvr32 oleaut32.dll

. After the installation is complete, you can install IIS, but you find that there is no IIS Installation option when you add or delete Windows Components,

So how to install it. Follow these steps.

3.2.1. Download iis5.1 (which is included in my attachment)

3.2.2. Enter "C:/Windows/INF/sysoc. inf" in the running state. The system will automatically use NotePad to open the sysoc. inf file.

Find the section "[components]" in sysoc. inf, and continue to find one similar to "IIS = IIS. dll, ocentry, IIS. inf, hide, 7 ".

Line, replace this line with "IIS = IIS. dll, ocentry, IIS. inf, 7 ". And then save and close it. If there is no such sentence, then directly

Add the following row to the end.

3.2.3. Copy the two attachment files IIS. DL _ and IIS. In _ to a temporary directory, such as C:/temp.

Run

Expand IIS. DL _ IIS. dll

Expand IIS. In _ IIS. inf

Of course, you can also use the decompression software to change the suffixes of both files to cab and decompress all files.

Solve the IIS. dll and IIS. INF files,

Copy IIS. inf to the C:/Windows/INF directory, and copy IIS. DLL to the C:/Windows/system32/setup directory.

3.2.4. Now, Go to Start> Settings> Control Panel> add or delete Programs> Add/delete Windows Components.

3.2.5. Follow the steps 2 to start the installation. The problem of finding the file path will occur during the installation process. Of course, iis5.1 is included in the attachment and you can directly select this path.

Path, three prompts in total. Next step.

4. IIS is finally installed. Choose Control Panel> Administrative Tools> Internet> Information Service> open website> default website> IIS Help> In the browsing area on the right

Right-click to browse the webpage. If the correct result is displayed. OK. Congratulations, you have succeeded.

4.1 if it fails, you have to worry about it. Follow these steps.

Run

Cd % WINDIR %/system32/inetsrv

Rundll32 wamreg. dll, createiispackage

Regsvr32 asptxn. dll

4.2 follow these steps.

Control Panel-> Administrative Tools-> component service console root directory-> component service-> Computer-> my computer-> COM + application,

Right-click IIS Out-of-process pooled applications and choose Properties> identifier> "user"

Changed to "system user-Interactive User-currently logged on user ".

Click "OK" and Right-click "properties"> "start"

4.3 If you access the IIS Help test on the website again, the password requirements will pop up. Follow these steps.

Right-click the default web site-> go to the "Directory Security" tab, and click "edit" in "Anonymous Access and verification control,

In the dialog box that appears, make sure that the "Anonymous Access" and "pre-integration Windows Authentication" check boxes are checked, and remove the check box before "allow IIS to control passwords,

If the password is displayed, enter the correct password. Of course, the anonymous user must be the correct user and password of the window, and then return it all the way.

You must also use the above settings when releasing a website.

5. Install the. NET Framework and the database, and then you can guard against ASP websites.

 

 

 

Solution: 127.0.0.1 cannot be accessed and 0x800a0046 has no permission: 'getobject'

Thanks to D8-pig D8-Forgot yicao D8-help debugging

========================================================== ====

Generally, you can enter

Copy content to clipboard

Code:

Http: // localhost
Http: // local computer name
Http: // 127.0.0.1

When you enter http: // 127.0.0.1, the user name and password are usually required for the machine to enter. There are two cases:

One isTo test IIS, access is iisstart under "System Disk/inetpub/wwwroot. ASP, followed by iisstart. ASP jumps to localstart again. ASP, and enable IISHelp at the same time. "Localhost" and "computer name" are all correct. However, when you enter 127.0.0.1, the dialog box is displayed, and you need to enter your account and password.

The second case isCreated a virtual directory, which can be accessed through "localhost + virtual directory" and "computer name + virtual directory". Similarly, "127.0.0.1 + virtual directory" cannot be accessed.

Although they are the same symptoms, they are different.

First, throw the first rule:To enable access by entering http: // 127.0.0.1, make sure that "Anonymous Access" is enabled, regardless of direct access or virtual directories.

Now we can quickly solve the second problem, such as the operation: Open IIS, right-click the "Default site", select "properties" from the pop-up menu, and open the panel, select "Directory Security" and click "edit". If you do not select "Anonymous Access", select "OK" to solve the problem.

Access "127.0.0.1 + virtual directory". solution 2

However, this problem involves a small number of people, and it is not a case to simply select it. Let's look at it again.

In this case, even though 127.0.0.1 does not have the required password input dialog box, a new problem occurs. Similarly, entering http: // localhost at the moment is the same, this is what many people have reported:

Copy content to clipboard

Code:

Error Type:
Microsoft VBScript runtime error (0x800a0046)
No permission: 'getobject'
/Localstart. asp, row 40th

So stop here now and analyze the cause.

If there is no "Anonymous Access" at first, you need to provide the account password. If there is "Anonymous Access", an error occurs. Note! This is for direct access to 127.0.0.1.

Therefore, "Anonymous Access" is the account and password provided to solve the problem of "127.0.0.1 + virtual directory, of course, it also solves some problems of direct "127.0.0.1" Access (no account password is required)

This "Anonymous Account" is useful.

But now we need to solve this new problem:Microsoft VBScript runtime error (0x800a0046): 'getobject'

Generally, the following methods are provided: Separate "iisstart. asp" and "localstart. asp" to cancel "anonymous access"

Wait. It looks good. I didn't typo it.

The solution to "(0x800a0046) No permission: 'getobject'" is"Separate"For these two filesCancel"Anonymous Access"

Procedure: Select "localstart. ASP file, right-click the file, select "properties" from the pop-up menu, open the panel, select "file security" for "edit", and cancel the selection before "Anonymous Access" access.

The same operation procedure applies to "iisstart. asp.

Now "http: // localhost" can be accessed.Microsoft VBScript runtime error (0x800a0046): 'getobject'.

At this point, we will analyze:

1. To make 127.0.0.1 accessible, you must set "anonymous access"
2. To enable "iisstart. asp" and "localstart. asp" to access the service properly, you must separately disable "anonymous access"

After the above settings, the localhost, localhost + virtual directory, and 127.0.0.1 + virtual directory can be accessed normally, leaving alone 127.0.0.1 access. The above analysis seems to be in conflict.

So, let's see what this "Anonymous Access" is?

The user name is "bluecom/iusr_bluecom", and the password is controlled by IIS. Among them, "bluecom" is the "computer name" of my machine, and each person is different. Then "iusr_bluecom" is "IUSR _ computer name.

What is the "IUSR _ computer name? It is an "Internet Guest Account" and an "built-in account for anonymous access to IIS". It belongs to the "guests" group.

When using this account, localhost displays "(0x800a0046) No permission", which seems to be related.

Then, my final perfect solution is to use "anonymous access" to ensure that all pages can be accessed without a password input box. At the same time, replace the "Anonymous Access" account. Instead of using the "IUSR _ computer name" account, use my XP Administrator to log on to the account.

Start IIS and right-click the "Default site". Select "properties" in the pop-up menu, open the panel, and select "Directory Security:

1. "edit"
2. "Browse" Users
3. "advanced"
4. "query" Users
5. Select the local XP Logon User Name
6. "OK", always "OK" to the end

In addition, it is important to select "inherit to overwrite" two files "iisstart. ASP and localstart. ASP. Otherwise, you need to add the "Anonymous Access" of the two files separately, and add the account to the XP login account you just set.

The four statuses are all done.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.