Previous Next

Thread: Where is Windows Authentication??

Last post 02-22-2008 7:38 AM by lovelldev. 13 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (14 items)

Sort Posts:

  • 07-31-2007, 8:06 PM

    Where is Windows Authentication??

    I have an asp.net app set up on an XP machine with IIS5.1 and it works fine with Windows Auth and NO Anonymous Auth.  The app is used only on an intranet.

    I am not setting up the same app on a Vista Home Premium machine.  After the app is set-up, there is NO Windows Authentication listed in Features View > IIS > Authentication.

    I put a check next to everything, except CGI stuff, when I added the IIS functionality to Vista thru the Turn Windows features On/Off area of the control panel.

    Using the help link in IIS, it took me to a page that clearly explains how to turn it on in the Authentication section.  Made sense, but Windows Authentication is NOT listed.  I only have:

    Anonymous Authentication - Disabled, ASP.NET Impersonation - Enabled, Basic Authentication - Disabled, Forms Authentication - Disabled

    Where is it?  Thanks

  • 08-01-2007, 1:36 AM In reply to

    • mvolo
    • Top 10 Contributor
    • Joined on 09-17-2003, 1:48 PM
    • Philadelphia, PA
    • Posts 583
    • IIS MVPs

    Re: Where is Windows Authentication??

    Hi ITPartTimer,

    Unfortunately, Windows Authentication is only available on Windows Vista Professional or above.  Windows Vista Home SKUs are not intended for professional development and so do not include the Windows Authentication components.

    See this article about the availability of IIS and its features on Windows Vista SKUs: http://www.iis.net/articles/view.aspx/IIS7/Deploy-an-IIS7-Server/Installing-IIS7/IIS7-Features-and-Windows-Vista-Editions.

    Thanks,

    Mike Volodarsky

    Program Manager
    IIS Core Server
    Visit mvolo.com for more inside information on IIS7, IIS and ASP.NET

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 09-05-2007, 8:46 AM In reply to

    • xispas
    • Not Ranked
    • Joined on 09-05-2007, 12:30 PM
    • Azores Islands, Portugal
    • Posts 3

    Re: Where is Windows Authentication??

    Windows Vista Home Premium + Visual Studio 2003 + ASP.NET 1.1

    I have been knocking my head for the last 2 days for a solution for this, until i found your post.

    Now facing the (obscure) true, this kind of the behaviour from MS crap comercial dpt only goes to pose problems to the ones that on the end feed them.
    Yeah microsot arent paying me for using vista i can drop it. But i need to (unfortunetly). My lap came with windows vista home premium attached to it, going back now isnt the alternative.

    Theres goes the rant.

     
    How can i remove the need for integrated windows authentication if it isnt beeing used in my code at all? setting authentication mode="None" in webconfig isnt enough. I wonder if theres anything trying to load NTLM module somewhere else on the .net 1.1 configuration?

     



     

  • 02-12-2008, 7:28 AM In reply to

    Re: Where is Windows Authentication??

    So, many months on has a patch been released or workaround that allows VS 2003 debugging to be carried out using windows authentication on Vista Home Premium?

     

    Many thanks

     

    Lee

  • 02-12-2008, 2:00 PM In reply to

    • mvolo
    • Top 10 Contributor
    • Joined on 09-17-2003, 1:48 PM
    • Philadelphia, PA
    • Posts 583
    • IIS MVPs

    Re: Where is Windows Authentication??

    Hi Lee,

    It has - you can get it at http://support.microsoft.com/kb/937523.

    Thanks,

    Mike Volodarsky

    Program Manager
    IIS Core Server
    Visit mvolo.com for more IIS 7.0 posts, tools, and info

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 02-12-2008, 4:30 PM In reply to

    Re: Where is Windows Authentication??

     

    Hi, cheers....i found that link through various posts...only problem is it relates to 2005 only.... still doesnt seem to work with 2003 which is a shame.... i'm only bug fixing a big project so cant upgrade them to 2005.

     

  • 02-12-2008, 4:46 PM In reply to

    Re: Where is Windows Authentication??

    Apologies, the authentication is working fine...its the debugging and attaching to the process i was having problems with.

     

  • 02-13-2008, 4:30 AM In reply to

    Re: Where is Windows Authentication??

    The error message i am getting when in VS 2003 on vista home premium is

    "error while tring to run project: Unable to start debugging on the web server. Debugging failed because integrated windows authetication is not enabled"

    The fix for VS 2005 doesn't seem to apply to VS 2003 unfortunately.

    I know VS2003 is not supported on Vista but i was hoping that some sort of workaround would be available.
    I've carried out all the steps to get this far and it's just this last hurdle i could do with resolving :-)

    Cheers

     

    Lee

  • 02-13-2008, 6:09 AM In reply to

    Re: Where is Windows Authentication??

    Hi,

    I have followed each of the steps in your guide above that talks you through the integrated authentication process to get F5 debugging to work.

    In FrameWork 1.1 the <section name="system.webServer" is not recognised and causes an error still parsin the web.config.

    I know it is understood in 2.0 but i gather i need to add a section to my machine.config in 1.1 to have it recognised. Do you know what i would need to add otherwise your posting will only work on VS2005 2.0.

     

    Many thanks in advance again Lee

  • 02-13-2008, 7:19 AM In reply to

    Re: Where is Windows Authentication??

    Eventually i'll solve this and stop asking questions :-)

     If i add the ignore webserver section entry in the machine.config to get the web.config to not complain will it not then ignore your debugging entry posted or is it IIS that will pick up the debugging asstistant function?

     

  • 02-13-2008, 10:27 AM In reply to

    • xispas
    • Not Ranked
    • Joined on 09-05-2007, 12:30 PM
    • Azores Islands, Portugal
    • Posts 3

    Re: Where is Windows Authentication??

    I had (and still have) lots of problems porting everything from XP to VISTA and 5 months went by. My contractor has asp.classic, asp.net 1.14 and asp.net 2.0 applications either in mssqlserver 2000 and mssqlserver2005 with third party componentes (custom backoffices, crm dll's, ironspeed, etc).


    Everything is debuging and running. Vista Home Premium misses Windows Integrated Authentication that you can find in Vista Ultimate.
     

    Im currently porting some projects code to the new visa 3dsecure but still face lot of issues, regarding the server certifications and certification access by code either in asp.net 1.14 or 2.0.

    Even to register the components they hidden it somewhere in c:\windows\system32\.. They removed the mailserver from IIS7, there goes a new issue to develop applications that handle e-mails. You can use IIS7 to relay emails. yah.. but isnt the same right? And what about UAC? disable it! its annoying! its awkward! Trying to follow what linux has for years... Its so annoying that if you are willing to do some large administrative task you better shut it off... (and when you do it, remember to do it for good!). Microsoft this time made it big. A big crap that is.

    Theres a rule of Thumb about porting stuff that is keep support for old versions or else your clients will run away. On time that wins do not mess.

    They tried by all means for you to move all your codebase to the new asp.net3.0 VS2008. But they fail it to do so, because theres still too many apps in the old versions. And not everyone has the time/resources to waste porting code because of a company marketing politics.

    Not to mention the nightmare to port everything to IE7 and the security issues regarding running embeded objects as flash with some degree of complexity (xml and remote scripts)... that is a new battle every day but some of the fault are to be shared by adobe/macromedia and their daily changes in the flash plugin.




    If you arent wealling to go back to XP and want to keep VISTA to develop, your best bet its to go Windows Vista Ultimate.

    Microsoft made me waste to much of my precious time! Microsoft is crap!

  • 02-13-2008, 2:51 PM In reply to

    Re: Where is Windows Authentication??

    managed to get almost everything going except the auto attach to the process on debugging.

    I can manually attach no problem but it's a little tedious.

     

    guess i'll try the guide again but it seems suited to VS 2005 only which is understandable with support on VS2003 non existent on Vista.

    Any help appreciated in getting the debugger linked though :-)

     

  • 02-14-2008, 5:44 AM In reply to

    • xispas
    • Not Ranked
    • Joined on 09-05-2007, 12:30 PM
    • Azores Islands, Portugal
    • Posts 3

    Re: Where is Windows Authentication??

    My rant didnt serve you nothing? pal everything worked here either except i you couldnt really debug vs2003 without WIA.

    Attaching to the process is a pain in the ass, not suitable for rapid development.

    Go Ultimate, you can enable WIA on program features, if you want to keep vista!



  • 02-22-2008, 7:38 AM In reply to

    Re: Where is Windows Authentication??

    Final Solution, Final Resort

     

    After searching for a solution i decided that due to the need to have Visual Studio 2003 (Not budgeted to upgrade) and the need to stick with Vista yet not willing to upgrade to Ultimate (Which would also solve the problem) i installed Virtual PC 2007 and used my old XP license to setup the environment as needed.

     

    Now i am happily using VS2003 through an XP virtual machine yet keeping Vista which i've grown to like.

     

    Thanks for any help

     

    Cheers

     

    Lee

Page 1 of 1 (14 items)
Page view counter