Searching WebDAV Directories

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

After you create a WebDAV publishing directory, you may want to allow users to search for content and file properties.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To set up your publishing directory for searching

  1. If you want to let clients search for resource properties, make sure the directory is on a drive formatted with the NTFS file system. If you put the directory on a drive formatted with the file allocation table (FAT) file system, clients can search for resource content but cannot search for resource properties.

  2. Right-click the My Computer icon on your server's desktop, and then click Manage.

  3. In the navigation pane of the Computer Management console, expand the Services and Applications node, and then select Services.

  4. In the details pane, right-click Indexing Service, and then select Properties.

  5. On the General tab of the Indexing Service Properties window, set the Startup type to Automatic, and then click the Start button.

  6. After the Indexing Service starts, click OK, and then close the Computer Management Window.

  7. In IIS Manager, expand the local machine, right-click your WebDAV directory, and click Properties.

  8. Click the Virtual Directory tab and make sure Index this resource and Read access options are selected. If Index this resource is not selected, Indexing Service will not create a catalog for that directory, and no one will be able to search it. If Read access has not been selected, a client can search the directory, but will not be able to see the results of the search.