IIS Application Directories

Labs and samples that require you to set up an IIS application directory (also called a virtual directory) will provide you with a .vbs script to run, usually in the root of the solution. In some cases, however, you will create a new web site in IIS using Visual Studio. Depending on your default settings in IIS, it is possible that Windows Integrated Authentication may not be enabled for the application directory. This section explains how to accomplish this for IIS 5.1/6.0 and IIS 7.0.

Instructions for IIS 5.1 and 6.0

The following are explicit instructions for enabling Integrated Windows Authentication for virtual application directories in IIS 5.1. IIS 6.0 follows similar instructions.

  1. Open the console for IIS from Control Panel → Administrative Tools.

  2. Select the web site or application directory to configure and edit its properties.

  3. From the properties dialog, select the Security tab.

  4. Check the Integrated Windows Authentication checkbox and save the changes.

Instructions for IIS 7.0

Follow these instructions to enable Integrated Windows Authentication for virtual application directories in IIS 7.0.

  1. Open the console for IIS from Control Panel → Administrative Tools.

  2. Select the web site or application directory to configure and find the Authentication feature.

  3. From the Authentication feature, enable Windows Authentication.

Get Learning WCF now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.