How do I set up my system (config files, VS2005 settings, IIS, etc?) to force the authorization window to popup on the site when I'm running on local asp.net development server? In other words, how do I get the authentication popup when running the site in Debug mode?
You will also need to configure IIS and have your application point to IIS instead of the local web server
To configure Windows authenticationhttp://msdn.microsoft.com/en-us/library/ms998358.aspx
- Start Internet Information Services (IIS).
- Right-click your application's virtual directory, and then click Properties.
- Click the Directory Security tab.
- Under Anonymous access and authentication control, click Edit.
- Make sure the Anonymous access check box is not selected and that Integrated Windows > authentication is the only selected check box.
To configure your application to point to IIS
- Right click on your web project, and then click Properties
- Click the Web tab
- Click the "Use Local IIS Web Server" radio button
No comments:
Post a Comment