Microsoft.NET

……………………………………………….Expertise in .NET Technologies

Installing Internet Information Services (IIS)

Posted by Ravi Varma Thumati on May 27, 2010

If you’re going to build Web applications you must install the Microsoft Web Server, Internet Information Services (IIS) version 5.0 or higher. This tool is available in Windows 2000 Professional and higher and in Windows XP Professional and higher. In Windows 2000 Server edition and higher IIS is automatically installed with the operating system. In Windows XP Professional and in Windows 2000 Professional you must install IIS manually.

To install IIS:

  • Open the Windows Control Panel and click the Add or Remove Programs icon

Figure1. In Windows 2000 Professional and Windows XP Professional you must install IIS manually. You can do that from the Control Panel.

  • Click the Add/Remove Windows Components icon.

Figure2. IIS is a Windows Component. Click the Add/Remove Windows Components icon to install it.

  • Select Internet Information Services from the list of components.

Figure3. When you select IIS from the list, you will notice that the check box is grayed, indicating that not all related components are being installed. The only things missing from a full install are the Printers Virtual Directory component and the Remote Desktop Web Connection, neither of which is required for ASP .NET.

  • Click Next. And finally Click Finish to complete the IIS

Testing Your IIS Installation

Once you have installed or upgraded to Windows XP Professional, you should verify that your IIS server is working correctly.

To test a Web site on your intranet

  • Open a Web browser, such as Microsoft Internet Explorer.
  • Type in the URL for the home directory of your server in the Address text box. The URL is typed in the following format: http://localhost/

By default, IIS looks in your home directory for a home page called default.htm, default.asp, or iisstart.asp and opens them.

If your Web browser returns an error, see the Troubleshooting table for suggestions.

Tips

  • Although you can also use Windows NT 4.0 and Windows XP Home Edition to build C# applications, you can’t author ASP .NET applications with these products.
  • It doesn’t matter if you install Visual Studio .NET or the .NET Framework SDK. As long as you have IIS installed, the setup program will install the files necessary to write and host ASP .NET applications.
  • If you don’t install IIS before installing .NET Framework, the Web server won’t be configured correctly. The file extensions for ASP.NET pages, such as .aspx, won’t be associated with the correct ISAPI DLL. The .NET Framework program will warn you if you try to setup the SDK before IIS.
  • However, if you choose to ignore the warning and install IIS after the SDK or if you uninstall and re-install IIS without re-installing the Framework SDK, you can run \Windows\Microsoft.NET\Framework\v1.0.3705\as pnet_regiis.exe to setup all the file associations in IIS for ASP.NET.
Advertisements

2 Responses to “Installing Internet Information Services (IIS)”

  1. I just want to say I am just very new to weblog and actually savored you’re blog site. Most likely I’m likely to bookmark your site . You really come with incredible articles and reviews.

  2. I would like to thnkx for the efforts you’ve put in writing this site. I am hoping the same high-grade site post from you in the upcoming as well. Actually your creative writing skills has inspired me to get my own website now. Actually the blogging is spreading its wings rapidly. Your write up is a good example of it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: