Prompted for a username and password when browsing to an IIS virtual directory
April 17, 2011 12:50 AM Subscribe
Why do I get prompted for a Windows username and password when I connect to a virtual directory under IIS?
posted by Ritchie to computers & internet (3 answers total)
I'm an IIS/Win7 n00b. I have IIS 7.5 running on Windows 7 Pro on a dev box. I am doing some work on a web application that uses a virtual directory in IIS.
When I point a browser at the root IIS website, I get the standard IIS welcome screen. However, when I instead browse to the webapp virtual directory (via intranet, internet, localhost doesn't matter), I get prompted for a Windows username and password. Why is this? How do I prevent it?
When I enter my standard Windows login details, I get to the webapp without further problems. The webapp has it's own authentication built-in, so I'd prefer to avoid logging in twice.