How to Install IIS on Window 7

I have developed an ASP.Net website using Visual Studio 2010. When I run it locally, it works fine. But when I try to put it in an Internet Information Server (IIS) server, it will show an error. I have tried to determine the solution of the problem. But I cannot find any clue of what the problem is actually. I am in doubt that I may have missed some configuration settings in IIS. So I have decided to install IIS again.

Introduction to Web Server

When you develop an ASP.Net application in Visual Studio and press F5 to run the application, Visual Studio has its own ASP.NET engine that is responsible for running your web application. So you don't have any problems running an ASP.NET application from the Visual Studio "Integrated Development Environment" (It is the category of software programs that provides all the tools required to develop, debug and package your applications). This will happen locally. Now if you want to host your application for others to access then that means hosting the application on a centralized location that can be accessed from any location. To do that you need a Web Server. A web server is responsible for providing a response to requests that come from clients.

What is IIS ?

Internet Information Server (IIS) is one of the most powerful web servers and is from Microsoft. It hosts your ASP.NET Web application. IIS has it's own ASP.NET Process Engine to handle the ASP.NET request. So, when a request comes from the client to the server, IIS takes that request and processes it and returns a response back to clients. To learn more

How to Install IIS

Now start installing IIS on your Windows 7. The procedure is as in the following.

Step 1: On the Start menu click on the "Control Panel".

IIS-1.jpg

Step 2: The Control Panel window looks as in the following image.

IIS-2.jpg

Step 3: Now click on the "Programs and Features" from the Control Panel window. The Programs and Features window looks as in the following image.

IIS-3.jpg

Step 4: Now select "Turn Windows Features on or off" from the "Programs and Features" window.

IIS-4.jpg

Step 5: Now click on the "Turn Windows Features on or off." The "Windows Feature" window looks as in the following image.

IIS-5.jpg

Step 6: Now select "Internet Information Service" from "Turn Windows Features on or off window" and expand it to select the check option.

IIS-6.jpg

Step 7: Now click on the "Ok" button to install IIS. A progress bar will appear. It will take a few minutes to complete the process.

IIS-7.jpg

Now you can use the Internet Information Services Manager to manage and configure IIS. To open the IIS Manager, click Start, type "inetmgr" in the Search Programs and Files box, and then press Enter.

IIS-8.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all