An Indexing Service query that uses the LIKE predicate returns an incorrect result in Windows Vista

Article translations Article translations
Article ID: 940069 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

On a computer that is running Windows Vista, an Indexing Service query that uses the LIKE predicate returns an incorrect result. For example, when you use the following query clause to query for files whose names contain the "doc" string, the result may include some files whose names do not contain the "doc" string.
SELECT Filename FROM Scope() WHERE filename LIKE '%doc%'
Note This problem does not occur on a computer that is running Windows XP.

CAUSE

This problem occurs because of an error in the Query.dll file.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Update information

The following files are available for download from the Microsoft Download Center:

Windows Vista, 32-bit versions (all languages)


Collapse this imageExpand this image
Download
Download the Update for Windows Vista (KB940069) package now.

Windows Vista, 64-bit versions (all languages)


Collapse this imageExpand this image
Download
Download the Update for Windows Vista for x64-based Systems (KB940069) package now.

Release Date: October 23, 2007

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

No prerequisites are required.

Restart requirement

You have to restart the computer after you apply this update.

Update replacement information

This update does not replace any other updates.

Registry information

You do not have to make any changes to the registry.

File information

The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, 32-bit versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Update.mumNot applicable1,80309-Jul-200716:01Not applicable
X86_b0cdbbb74cf59b983cfba5aa7980759e_31bf3856ad364e35_6.0.6000.20635_none_a92b5c5762074a73.manifestNot applicable71109-Jul-200716:01Not applicable
X86_microsoft-windows-c..ent-indexing-common_31bf3856ad364e35_6.0.6000.20635_none_053bfbb7f31b362e.manifestNot applicable165,76809-Jul-200716:03Not applicable
Query.dll6.0.6000.206351,380,86407-Jul-200702:14x86
Windows Vista, 64-bit versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Amd64_246f907aa9665809ca945bc1faa6b1aa_31bf3856ad364e35_6.0.6000.20635_none_34c56eda740c998d.manifestNot applicable1,07009-Jul-200716:01Not applicable
Amd64_microsoft-windows-c..ent-indexing-common_31bf3856ad364e35_6.0.6000.20635_none_615a973bab78a764.manifestNot applicable165,80409-Jul-200718:27Not applicable
Update.mumNot applicable2,04209-Jul-200716:01Not applicable
Query.dll6.0.6000.206352,075,64807-Jul-200703:17x64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

MORE INFORMATION

For more information about the LIKE predicate, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms691677.aspx
For more information about query languages for Indexing Service, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms690580.aspx
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 940069 - Last Review: October 8, 2011 - Revision: 5.0
APPLIES TO
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
Keywords: 
atdownload kbvistasp1fix kbfix kbexpertiseadvanced kbqfe KB940069

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com