How to Install IIS on Windows Vista
If you are a developer using ASP.NET, one of the first things you’ll want to install on Vista is IIS (internet information server). Keep in mind that your version of Vista may not come with IIS. I’m using Vista Ultimate edition.
First, go to Control Panel, and then click on Programs. You’ll see a link for “Turn Windows features on or off”

If you expand the Internet Information Services tree node, you can see that there are a lot of options beneath it. You will probably want to explore these options, because even if you click on IIS, some of the necessary options for doing development aren’t checked.

Once you’ve gone ahead and checked the items you want, and clicked OK, you’ll see this dialog for a while….
Now when you navigate in your browser to localhost, you’ll see the new default page… slick!

Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:
| Similar Articles | Featured Wiki Articles |
| Latest Software Reviews | Quick Linux Tips |
| Geek Arcade | Popular Forum Threads |


Thanks for the Vista IIS/localhost setup info. Finding Microsoft setup info isn’t always quick. You sure made this easy. Thanks again.
Thanks alot! This really helped!
Thanks,
But how about security.
I use clasic ASP with connection to a database (access)
My website won’t start because of internal error (error 500)
How do I setup security so that local website will start.
I looks different than on Windows XP.
Hye,
In IIS 7 is there the faclity to have local site acess with “www.mysite.com” or i will have to use it like “http://localhost/mysite”
Thanx
Kaushal
Hi. I am new to Vista and new to ASP.net. I have recently acquired Vista Ultimate and VS 2005, so I am learning both.
Two issues/questions:
1) In World Wide Web Services – Application Development Features, I can only get the ASP and ISAPI Extensions and ISAPI Filters check boxes to run correctly – all the others, including .NET Extensiblity and ASP.NET just error out when I hit the OK button after Vista does its configuration thing. This is very confusing to me, as I have created an ASP.NET “Hello World” application using C# and its runs just fine, albeit the URL is not http://localhost/foo, but http://localhost:49537/Default.aspx. What am I misunderstanding here?
2) I still do a lot of classic ASP development – much more than ASP.NET, in fact. However, when I use Visual Interdev 6.0 to create a site on my local host and tell the application which server to use (”Foo”, for argument’s sake), I get the following error:
There is no sever on Port 80 at ‘foo’ (Errorcode = 8004005)
Your help would be much appreciated; I am considering a rebuild using XP Pro and just biding my time at this point. Please help!
What if you don’t have all the options under “Turn Windows features on or off”?
I have Windows Vista Ultimate, but I seem to be missing a few options…like Games, IIS, and more.
Please advise.
I am encountering the same problem as Bert. i can view normal asp pages but once the page needs to extract info from the database, a internal error shows up. what is the solution for this problem.
I have this problem too. (I am encountering the same problem as Bert. i can view normal asp pages but once the page needs to extract info from the database, a internal error shows up). what is the solution for this problem.
I`ve followed your installation but when i type http://localhost/ it just shows a blank page and no errors. When i try and view my site on local server i can all text but the images are crossed out as if link is incorrect (happens on all pages). It seems as if VISTA is blocking all images…please can someone help, been 5 weeks now
Thanks
hi
I have followed the same procedure as told by you to install IIS on windows vista but my problem is when i type the url http://localhost am getting http server 404.4 error what is this what mistake i have done can you please help me in this regard
thank you
For all those out there struggling with Classic ASP and Access, the fix to your problem is most likely here: http://blogs.iis.net/bills/arc.....lures.aspx If that doesn’t fix it, check out the ASP forum on IIS.net here: http://forums.iis.net/1044/ShowForum.aspx
I have followed the same procedure as told by you to install IIS 7.0 on windows vista but my problem is when i type the url http://localhost am getting http 500.0 error can you please help me in this
Regard
thank you
Kay, this has to do with your security on the directory you are pointing to. Cheap and nasty is to add group names INTERACTIVE and SERVICE both with default privelleges.
Off the top of my head, for those with the problem only when they try to hit the database, go to IIS Authentication, and tell it not to be for a specific user (appilcation pool option) under the anonymous option.
For those with the problem only when they try to hit the database, go to IIS Authentication, and tell it not to be for a specific user (appilcation pool option) under the anonymous option.
hi,
I have followed the procedure of installing IIS as said. But after the isntallation there is no IIS icon in Administrative tools. when i try with localhost in IE, I am getting 404 error.
I am using WindowsVista Home Basic Edition in my laptop.
Any help is appreciated.
Thanx.
Mahesh – only a very limited set of features are on home basic. You won’t be able to use it as a web server. See more here: http://www.iis.net/articles/vi.....ons?Page=2
Ok, im just about upgrading from xp to ultimate
just wondering does mysql/php/phpmyadmin work fine along with IIS
thanks
I was trying to install Active Directory and it’s administrative options for Echange.
I installed the IIS 7.0, but when I try to run the Exchange Admin tools, it tells me that IIS is not running or it’s not installed.
i already installed IIS7.0 and verified the http://localhost
what gives. any ideas.
Gabriel.
I have given up after 3 weeks trying to get IIS7 installed and working with PHP on Vista. It NEVER gave me access to localhost. I learned a great deal, but it ALWAYS led to more problems that needed a deeper (and deeper and deeper, keep shoveling) knowledge of Vista/IIS7/etc. than I ever wanted to know.
In every bit of web research and trying all the major online advice I could find, I never found a single set of instructions or group of collective wisdom instructions that was complete or correct, and certainly none got me going with local development using PHP and localhost on Vista.
I ended up using WOS Portable, which works with the exception of the annoying Vista notice that it can’t find localhost offline, and tries to go online. I shut that Vista notice off (each and every time) and the web site I’m trying to develop shows up.
I regret my sorry time trying to install and test IIS7, and in getting Vista in place of XP.
PHP works, at least I got the php test page in both Firefox and Explorer. [Toshiba laptop Vista Home Premium]
From: Alex Ames on June 22, 2007 8:18 am
… knowledge of Vista/IIS7/etc. than I ever wanted to know…
Alex:
I agreed” BUT this link worked for me, if you want to try again. I just followed the main article.
EXCEPT- I had to create the test file out side of “wwwroot” It said I didn’t have permission – and then paste the file into “wwwroot”. Note: I didn’t install mysql yet. Once I got php working, I typed this for you and TURNED Vista OFF.
Also in the test.php file only put the following line:
http://blondr.blogspot.com/200.....php-5.html
I wms
Thanks a lot, it really helped me a lot.
tankyou man very nice
hi, i have installed windows vista enterprise but when i go to “Turn windows features on and Off” in control panel under programs, i cant see my IIS Services listed there. Can any body help me to know why this features (and some others like games) are missing from this dialog. Thanks,
thanks for your help.. this is great forums for me.. tnx a lot.
ivorvhan
i have window vista home basic in my sony vaio N37 model
i wanna configure IIS 7.0 but when i configured and i type http://localhost/ in the browser
i am getting error
server error in application -”default website”
Http 404 error
please help me
any help is appreciated
new to vista,new to computers?hey man you saved my sanity,error 404 is a nightmare many thanks
the baron 15/7/07
Thanks,
Hi,
I am using Windows Vista Home Premium running Visual Studio 2005, SDK, and IIS 7.0. I configured IIS to make it aware of ASP.NET. IIS displays htm files with no problems. Yet, I cannot get it to display an ASP file. I am out of ideas. Can you help me?
Thanks,
Del
Hii
All
In the month of july i submit a comment that how to install IIS 7.0 on Vista home basic edition
now i sort out the problem..
In Vista home basic addition you cant install any web server
for IIS you have to switch on Vista Premium or Business or Ultimate edition
Thanking you
hi
I have followed the same procedure as told by you to install IIS on windows vista but my problem is when i type the url http://localhost am getting http server 404.4 error what is this what mistake i have done can you please help me in this regard. and also in application development feature i can’t see ASP checkbox.only one checkbox i can see is .net extensibility.
can you please reply soon
My IIS is working fine but when I run services.ext and see the services running , I dont see IIS there.
http://localhost is running fine for me , I am able to see default page.
Thanks
hi vishwas
I still can’t see asp checkbox in application development features.only one feature is there that is .net extensibility.what should i do now ?
if anyone knows the solution please reply me
Hi,
I did what you did. My problem is that when I test an asp or aspx file in my IE browser address window, the program opens up in Visual Studio. It is a VB script program; I am running Vista Ultimate. My SQL server is running fine.
Any Ideas?
del
great!!! Thank you
Thanks for your help, it worked as advertisied.
Hi, I also got problem with my IIS in window vista..when i type my .asp in localhost they will open the file to my dev editor (Dreawweaver) instead of go direct to the link in browser..someone please help me..
Hi, I also get the same problem as niza. Help please…
———————-NOTE————————–
I am closing the comments on this article because of the large amount of support questions.
You are welcome to leave any computer help questions on the Forum.
http://www.howtogeek.com/forum/
———————-NOTE————————–