FIX: Full-Text Queries May Return "Unspecified Error" Error Message

This article was previously published under Q292755
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 351773 (SHILOH_bugs)
SYMPTOMS
Executing a full-text query from SQL Server Query Analyzer may result in the following error message:
Server: Msg 7619, Level 16, State 1, Line 1
Unspecified error
The error occurs if the query uses the CONTAINS full-text search predicate and the search phrase meets the following criteria:
  • There is a hyphen in the search phrase.
  • A noise-word is present after the hyphen.
RESOLUTION
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
MORE INFORMATION
To keep the full-text catalogs from becoming bloated, words such as "is" and "the" are not stored in the catalogs and are ignored by full-text search. A list of these noise-words, in several languages, is in the Microsoft SQL Server\MSSQL\FTDATA\SQLServer\Config folder. These files are installed when the full-text search is installed.

You can edit the noise-word lists. However, before you edit the lists, you must stop the Microsoft Search Service. After the noise word list is edited and saved, the full-text catalogs must be repopulated for the changes to take effect.

The following script causes the error message to occur:
if EXISTS (select name from master.dbo.sysdatabases where name = 'testDB')  drop database testDBcreate database testDBgoset nocount onuse testDBgocreate table tbl1(idx int not null, ftCol1 nvarchar(400))create unique index t1idx on tbl1(idx)goinsert into tbl1 (idx, ftCol1) values (1, 'Multi-Million dollars')go--set up full-text catalogsexec sp_fulltext_database 'enable'exec sp_fulltext_catalog 'tbl1Cat', 'create'exec sp_fulltext_table 'tbl1', 'create', 'tbl1Cat', 't1idx'exec sp_fulltext_column 'tbl1', 'ftcol1', 'add'exec sp_fulltext_table 'tbl1', 'activate'go-- start full population and wait for completionsp_fulltext_catalog 'tbl1Cat', 'start_full'while fulltextcatalogproperty('tbl1Cat', 'populatestatus') <> 0   waitfor delay '00:00:05'go-- this query returns 'Unspecified error'select * from tbl1 where  CONTAINS(*, '"Multi-Million and dollars"') go				
Properties

Article ID: 292755 - Last Review: 01/16/2015 22:00:17 - Revision: 3.2

  • Microsoft SQL Server 2000 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB292755
Feedback