You cannot use regular expressions when you add or when you exclude directories in a catalog (832023)
The information in this article applies to:
- Microsoft Index Server, version 3.1, when used with:
- the operating system: Microsoft Windows Server 2003, Web Edition
- the operating system: Microsoft Windows Server 2003, Standard Edition
- the operating system: Microsoft Windows Server 2003, Enterprise Edition
SYMPTOMSWhen you add a directory to your
index server catalog by specifying a regular expression (such as a wildcard
character [*]) in the directory path in the Indexing Service console, you
receive the following error message: Invalid directory
name CAUSE The Indexing Service on Microsoft Windows Server 2003 does
not validate regular expressions that are added through the Microsoft
Management Console (MMC).STATUS This
behavior is by design.WORKAROUNDTo work around this problem, use wildcard expression by means of the registry to include directories in a catalog or to exclude directories from a catalog. Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry - Stop Indexing Service.
- Start Registry Editor.
- Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\Catalogs\your_catalog\Scopes - Right-click
Scopes, and then click New String Value.
- Add the location path with the wildcard character (for
example, C:\myfolder\*).
- Quit Registry editor.
- Locate your catalog in the MMC, find the
Directories folder, and then double-click the folder that
contains the location path that you created in step 5.
- In the Add Directory dialog box, click No under the Include in Index? option.
- Repeat
steps
4 through 8 for all other location paths that contain
wildcard characters.
- Restart Indexing Service.
STATUS This
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 5/4/2005 |
---|
Keywords: | kbprb KB832023 kbAudDeveloper |
---|
|