Microsoft KB Archive/248991

= Site Server Search Web Admin Does Not Allow Spaces in Path Rules =

Article ID: 248991

Article Last Modified on 7/30/2001

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q248991



SYMPTOMS
In general, the Site Server Search Web Admin program has the same functionality as the Microsoft Management Console (MMC). However, when you add Path Rules that contain spaces, the Path Rule is not accepted and the following error message occurs:

You must type a site path. Do not use spaces.



RESOLUTION
In the Ctprspa.asp file, which is located in the Microsoft Site Server\SiteServer\Admin\Knowledge\Search directory, check the code to check for spaces. This function begins at line 38 and reads as follows: if ((strPath == "") || (strPath.indexOf(" ") != -1)) {   alert("<% = L_NoSitePath_Message %>"); return false; } Modify this to be: if (strPath == "") {   alert("<% = L_NoSitePath_Message %>"); return false; }

This allows you to enter spaces in the Path Rules.

Note: This affects all Path Rules including HTTP and File Paths.

Keywords: kbtshoot kbprb KB248991

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.