PRB: Filter String Exceeds the Maximum Length of 511

Last reviewed: July 16, 1997
Article ID: Q171346
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 4.0a
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0

SYMPTOMS

When you select Add Files on the toolbar or from the File menu, you may receive the following message:

   Filter string exceeds the maximum length of 511

CAUSE

The "filter string" corresponds to the values of the File_Types and the Relevent_Masks initialization variables located in either or both the SRCSAFE.INI and the users SS.INI. Together, these values exceed the maximum length of 511 characters allowed.

RESOLUTION

Reduce the number of unnecessary relevant masks or file groups that are displayed in the "List files of type" list in the Add Files dialog box. To accomplish this:

  1. In Visual SourceSafe Explorer, go to the Tools menu, click Options, and click the "File Types" tab.

  2. Delete or reduce the "File Groups" or the "File types included in file group" sections.

STATUS

This behavior is by design.

MORE INFORMATION

This error message is documented in Help. You can find it by typing "filter" in field 1 in the "Find" tab, and then selecting "filter" in field 2. The error message appears in field 3. Double-click it to display the topic.

For more detailed information about these INI variables, search the Online Help Topics for "File_Types". Also, from this topic, click the "See Also" link, and then click the "File Types Options Tab" link.


Keywords : kberrmsg ssui
Version : 4.0 4.0a 5.0
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.