View Single Post
  #2 (permalink)  
Old May 23rd, 2007, 08:42 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you getting a login screen in the browser or as a popup dialog off the browser?

This sounds like a security setting in IIS. By default, new web sites and virtual directories in IIS are set to "Integrated Windows authentication". This prevents a user from even BROWSING a site/directory until they have provided a valid windows user login/password. This has nothing to do with the site login you programmed. You need to allow anonymous access to the site so that anyone can browse the pages.

Open IIS Manager, choose properties from the context menu of the virtual directory in question, select the "Directory Security" tab, under "Anonymous access and authentication control" click the "Edit" button, uncheck "Integrated Windows authentication" and check "Anonymous access".

-Peter