Iis6.0 manual installation and configuration of ASP. net2.0

Source: Internet
Author: User

This problem is not very new, but I believe it is still difficult for some new beginners, or some programmers have no chance to access it. Today, I configured the computer, record this process and hope that it can be used in the future and help you (this trial is the installation process of iis6.0 on Windows Service 2003)

Step 1: Open the control panel, double-click the add or delete Programs icon, and select Add/delete Windows Components (a) In the add or delete programs window )], the Windows component Wizard will pop up.

 

Select application server and click details.... The application server is displayed]

Internet Information Service (IIS) is selected by default)

If you are not at ease, you can click details to select the desired function.

However, the most important thing is the World Wide Web service, which can be left empty.

Simply install the default one.

Step 2: The next step will show up. copy the file and you will find that the file does not exist. In this case, we can select the location of the IIS package we downloaded. For example:

You only need to select the convlog. ex _ file in the main directory, and then click OK to run the program and the installation will be successful.

I have tried many packages that lack IISADMIN. MFL and other files, so I have provided you with a full download ,:

Step 3: this should be smooth, but there is a small problem in the middle.

The message indicates that the iisapp cannot be copied. vbs or staxmem. DLL and other files, this problem can be solved in this way. The reason for this problem is that due to the version problem, the server installed 2003 SP1, and then patched to SP2, this is also considered a version issue, as long as you enter esentutl/P % WINDIR %/security/database/SeCEdit in the starting line. SDB press ENTER
That's it, but remember that starting a remote trip is not starting a Remote Trip. cmd,

The following information appears:

C:/Documents and Settings/Administrator> esentutl/P % WINDIR %/security/database/s
Ecedit. SDB
Microsoft (r) Windows (r) Database Utilities
Version 5.2:
Copyright (c) Microsoft Corporation. All rights reserved.
Initiating repair mode...
Database: C:/Windows/security/database/SeCEdit. SDB
Temp. Database: temprepair896.edb
Checking database integrity.
The database is not up-to-date. This operation may find that
This database is creating upt because data from the log files has
Yet to be placed in the database.
To ensure the database is up-to-date please use the 'recovery 'operation.

Scanning status (% complete)
0 10 20 30 40 50 60 70 80 90 100
| ---- |
........................................ ...........

Integrity check successful.
Note:
It is recommended that you immediately perform a full backup
Of this database. If you restore a backup made before
Repair, the database will be rolled back to the state
It was in at the time of that backup.
Operation completed successfully in 1.719 seconds.

Now you can install iis6.0 smoothly.

The command above tells the computer not to update the version. Press the old version to update the version, that is, do not check the new version. In this way, you can install the latest prompts, remind us to pay attention to backing up data !!!

 

When you see this form, congratulations on your successful installation;

Step 4: Open the IIS server

1. Enter "intemgr" in "start" and press Enter.

2. Right-click the Internet information service in my computer management

3. Control Panel-management tools-Internet Information Service (IIS) Manager

The preceding three methods are enabled, as shown in figure

Step 5: Create your own website

We can see that there is a website icon in it, and there is a default website below. Of course, if we don't want it, we can delete it directly, and then click --- New -- website

In the displayed box, go to the next step.

Enter the name of your website here. You just need to enter one name, but it is useless to describe it, and then proceed.

The IP address is the IP address of your local machine.

We all know what the port is. The port cannot be repeated here.

Host Header. This key is the name or name you bound to the website. You can write it here and resolve the domain name to this IP address, he will access your website on his own. If he still does not understand, he can check the IDC online or leave a message. next step

I believe everyone understands that you have chosen the path of the website you have developed. Be sure to select the main directory. Next step after the selection

 

Select the permission, which is generally the first three, but remember that the program or CGI must be selected when executing the ISAPI in the third item. Otherwise, there should be no chance to choose, this is whether or not the interface is supported. Of course, you must select what the website does not need. Next, click Next;

Congratulations! You have completed ASP and ASP. net1.0 website configuration;

Step 5: Configure ASP. net2.0 or later WebSite Services

As I said above,"

Congratulations! ASP, Asp. the configuration of the net1.0 Website ", you should have thought, is the landlord wrong, not configuring ASP. net2.0, how does it become ASP, asp. what about net1.0? No error,

Then, we can see that, right-click the website you just created-properties ---asp.net select card

We can see that the default version is 1.1. How can we change it to 2.0? There are several methods below:

1. if you have installed. if IIS is installed only after net2.0 or later versions, congratulations, you will save a lot of trouble, because in Asp.net version, that is, the first option, you can select 2.0 directly,

But what should I do? Don't worry,

See

 

There is also an option under the website that is Web Service extension. We can see that there is only one ASP. netv1.1.4322 is used here. It is equivalent to your service source. That is to say, you can make a choice in the previous interface, in fact, it is the assembly of each version installed on your own machine. Because there is no 2.0, We will install it now. for net2.0 or later versions, it is not here

Demonstrate how to install it, because this is a basic skill for everyone. If this is not the case, I believe that I have not mentioned more and there is no value for it. Well, let's look at the following connection, the first "Add a new Web Service extension" Is it. Click it.

Here, we just select the file of Version 2.0 or later that you just installed. Click Add.

 

You only need to find the file C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_isapi.dll and select Add.

Are you sure you want to see it in the interface just now, but it is forbidden by default. We want to change it to allow,

In this way

 

The last step is to right-click the website you just created -- attribute --asp.net

Select and confirm.

1. I would like to thank Xiao Li for his suggestions,

This is easier than my method.

Start ---- run --- cmd press ENTER ----- cd c:/Windows/Microsoft. NET/framework/v2.0.50727. Then input aspnet_regiis.exe-ir to go back to the car.

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.