IIS 7 and Above
How to enable IIS 7's Windows Authentication on Windows Vista
Last post Dec 22, 2008 10:30 AM by Mad-Halfling
Jul 31, 2007 10:46 PM|oalexandrino|LINK
I'm trying to configure Windows Authentication on my laptop's IIS 7.
Have a look at this image
as you can see...there is no Windows Authentication option.
Have a look too at Windows Vista Features too at the moment of installing a new one.
also as you can see one more time, I can't localize Windows Authentication option there!
How could I solve this problem?
windows authentication vista iis7
Aug 01, 2007 06:39 AM|mvolo|LINK
Please see my answer to the same question here:
Where is Windows Authentication??.
IIS Core Server
Visit mvolo.com for more inside information on IIS7, IIS and ASP.NET
Aug 02, 2007 04:33 AM|oalexandrino|LINK
that is not available?
I'm sorry ask it again, but if I really need use that authentication with Home Premium...would have any way to install some package or patch to, at least , emulate it just at Developing phrase ?
I wouldn't like to go to a new version because it came with it and I left it fully configured for all my needs.
Maybe I use a virtual machine with another OS, but I think would be hard to leave it working
Aug 02, 2007 05:31 AM|mvolo|LINK
Unfortunately, it is not supported on Windows Vista Home Premium. I cannot recommend any workaround other than installing Windows Server 2008 beta 3, or a version of Windows Vista that does support it.
IIS7 is much more available in Windows Vista than it has been in previous versions of client OS, with many more limitations removed. However, the people that make business decisions about feature availability in OS SKUs have decided not to make Windows Authentication
available in the Vista Home Premium OS as it is not intended for serious / enterprise level development.
I do feel your pain ... if you send me an email, maybe we can discuss other workarounds for your specific setup.
Aug 06, 2007 04:37 PM|oalexandrino|LINK
I appreciate your help.
Sorry to answer just now.
I did a little changed on the application in order to leave it working without need to use Windows Authentication.
But in the future I will be going to apply that.
If I get problems with that I will be sending to you an email.
Thanks a lot!
Dec 22, 2008 10:30 AM|Mad-Halfling|LINK
I am learning .NET at home for a project with VS 2008 on vista home premium and I found this thread when I was having problems with Web Parts - I can create them and go into design mode fine using VS's local server from [Debug][Start without debugging],
but when I tried the same page using IIS on my local machine it wouldn't let me. As this thread mentions, this is all to do with the windows auth not being available unless you have the professional versions of vista (listed here http://www.stuffthatjustworks.com/default,date,2008-02-27.aspx
). You can get around this for dev purposes (it's not pretty, but it works) so you don't have to use the VS debug to run the site. Make sure you have Basic Authentication installed:-
[Control Panel][Programs (or Programs and Features in classic mode)][Turn Windows Features on or off][Internet Information Services][World Wide Web Services][Security] and tick [Basic Authentication]
Then in the IIS7 manager, select your web app (you have to do this individually for each .NET application) and double-click [Authentication]. You will most probably find that anonymous auth is enabled and everything else is disabled. Disable anonymous auth
and enable Basic auth. When you next try to access that site it will challenge you for user credentials on you local system, if you put in your username and password it should then allow access, design mode, etc. Note that http 401 credentials are sent in
plain text so I would ONLY use this for development purposes on your local machine and not for any sort of live application.