Location of IIS installation in Different Windows Versions

Source: Internet
Author: User
Tags blank page
As shown on MSN, if you want to run the example hosted by Internet Information Service (IIS), you must ensure that IIS is correctly installed and running. When Windows XP is installed

Install IIS 5.1 on a computer of Service Pack 2

1. Click add or delete in Control PanelProgram".

2. In the add or delete programs dialog box, click Add/delete Windows Components ".

3. In the "Windows component wizard", select the "Internet Information Service (IIS)" check box, and then click "Next ".

4. When you see the "required files" dialog box, insert the installation disc of the operating system, browse to the i386 folder, and click "OK ".

5. Click "finish" when the installation is complete ".

6. Close the "add or delete programs" dialog box, and then close the "control panel ".

 

Install IIS 2003 on Windows Server 6.0

1. In "manage your servers", click "add or delete role", and then click "Next ".

2. Select "Application Server (IIS, ASP. NET)" from the "server role" list and click "Next ".

3. Select "enable ASP. NET" and click "Next ".

4. If the options summary is correct, click "Next ".

5. When you see the "required files" dialog box, insert the installation disc of the operating system, browse to the i386 folder, and click "OK ".

6. Click "finish" when the installation is complete ".

 

Install IIS 7.0 on Windows Vista

1. Click Start and select control panel ".

2. Select the "program" group.

3. Under "programs and functions", select "enable or disable Windows functions ".

4. Click continue in the displayed "User Account Control" dialog box ".

5. The "Windows functions" dialog box is displayed. Expand the items marked as "Internet information service.

6. Expand the items marked as "World Wide Web service.

7. Expand the item marked as "application development function.

8. Make sure the following items are selected: 1.. Net scalability 2. asp. net3. ISAPI extension 4. ISAPI filter

9. Expand the items marked as "Web Management Tools" and select "IIS console ".

10. Expand "common HTTP functions" under items marked as "World Wide Web Services ".

11. Make sure that "static content" is selected.

12. Expand "security" under the items marked as "World Wide Web service ".

13. Make sure that "Windows Authentication" is selected.

14. Expand the item marked as "IIS 6 management compatibility" and select "IIS 6 script tool ".

15. Expand the item marked as "Microsoft. NET Framework 3.0" and select "Windows Communication Foundation HTTP activation ".

16. Click OK ".

 

Install IIS 2008 on Windows Server 7.0

1. Select "role" in "Server Manager", and click "add role" under "role summary ".

2. Click "Next" to display the "Select Server role" dialog box.

3. Select "Application Server" from the "role" list and click "Next" twice to display the "select role service" dialog box for the Application Server role.

4. Select "Web Server (IIS) support", and then select "HTTP activation" under "Windows Process activation service support ". If you are prompted to install other role services and functions, click "add required role service ". Click "Next" twice to display the "select role service" dialog box for the Web Server (IIS) role.

5. Expand "Administrative Tools" and "IIS 6 management compatibility", and then select "IIS 6 script tool ". If you are prompted to install other role services and functions, click "add required role service ". Click "Next ".

6. If the option summary is correct, click Install ".

7. After the installation is complete, click Close ".

 

Check IIS and ASP. NET Installation

1. Save the HTML file at the end of the topic to the \ Inetpub \ wwwroot root directory and name it default. aspx.

2. Open a browser window.

3. Type http: // localhost/default. aspx in the address box, and then press Enter.

4. A webpage containing "Hello World" text should appear. Note: each time you install the new version of. NET Framework, you must register aspnet_isapi as the Web service extension of IIS. Therefore, issue the aspnet_regiis CI cenable Command, as described in the failure of the Service hosted by IIS. If a service hosted by IIS fails, you may see one of the following symptoms. the SVC file cannot be identified. The browser displays a blank page or the text of the file rather than the help page of the service, as shown in the following example. <% @ Servicehost Language = C # DEBUG = "true" service = "Microsoft. servicemodel. samples. calculatorservice "%> when attempting to access the service hosted by the web, the following exception may occur. Unhandled exception: system. servicemodel. protocolexception: the remote server returned an unexpected response: (405) method not allowed. if ASP.. Net or. this usually happens when the SVC file type is mapped to aspnet_isapi.dll. To correct this problem, make sure that aspnet_isapi is enabled as the Web service extension of IIS. You can use the IIS manager or run aspnet_regiis CI cenable from the. NET Framework installation directory to view and modify the settings. After you complete this operation, verify that ASP. NET is running. Therefore, put the test. aspx file in the \ Inetpub \ wwwroot directory and make sure that the file can be viewed in a browser. If IIS is installed after Windows Communication Foundation (WCF) is installed, you must run the following command. "% WinDir % \ microsoft. Net \ framework \ V3.0 \ Windows Communication Foundation \ servicemodelreg.exe"-r this registers the required script ing in IIS. You must also ensure that the. SVC file type is mapped to aspnet_isapi.dll.

 

Verify that the SVC file type has been mapped to aspnet_isapi.dll in IIS 5.1 or 6.0.

1. Open Computer Management in Control Panel ".

2. Expand "services and applications" and "Internet Information Services ".

3. Right-click "website" and select "properties ".

4. Click "configuration" on the "home directory" tab ".

5. Verify that the. SVC file has been mapped to aspnet_isapi.dll in the application ing list.

If the file has not been mapped:

1. Click Add ".

2. In the Add/edit application extension ing dialog box, Click Browse ".

3. Browse the folder containing aspnet_isapi.dll and click open ".

4. Specify. SVC as the extension.

5. Make sure that "check whether the file exists" is not selected.

6. Click "OK" and then click "OK" again to return to the "website properties" dialog box.

6. Click OK to close the dialog box.

 

Verify that the SVC file type has been correctly mapped in IIS 7.0

1. Open the Command Prompt window and type start inetmgr to open the Internet Information Service (IIS) MMC snap-in.

2. In the left-side pane, expand the node containing the computer name, expand the "website" node, and select "default website ".

3. Double-click "handler ing" in "function view ".

4. Verify that the. SVC file has been mapped to aspnet_isapi.dll in the application ing list. If the file has not been mapped:

1. Click "ADD management handler ".

2. Type *. SVC in "Request Path.

3. In the "type" text box, type system. servicemodel. Activation. httphandler, system. servicemodel, version = 3.0.0.0, culture = neutral, publickeytoken = b77a5c561934e089.

4. Type SVC-integrated in the "name:" text box.

5. Click OK ".

6. Click "add script ing ".

7. Type *. SVC in "Request Path.

8. In the executable file: text box, type % SystemRoot % \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll.

9. Type A svc-ISAPI-2.0 In the Name: text box.

10. Use the move up/move down control to ensure that the managed handler (SVC-integrated) appears in the list before the aspnet_isapi (svc-ISAPI-2.0) handler.

11. Click OK ".

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.