Microsoft
Software
Hardware
Network
Question : MS SQL FTS Index Population Error
I have a MS SQL Server 2005 running a FTS over some PDFs.
On the whole its working, but the Indexing is showing an error, which i cant work out how to resolve:
Errors were encountered during full-text index population for table or indexed view '[****].[dbo].[PDFFiles]',
database '****' (table or indexed view ID '133575514', database ID '6'). Please see full-text crawl logs for details.
I understand that i should look in this directory
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG
and have a look in the event log.
It showed an entry like this:
Errors were encountered during full-text index population for table or indexed view '[****].[dbo].[PDFFiles]',
database '****' (table or indexed view ID '133575514', database ID '6'). Please see full-text crawl logs for details.
I assume the crawl logs are the ones names like this: SQLFT....LOG
And there are a few there, with names like
SQLFT0000600005.LOG
SQLFT0000600006.LOG
SQLFT0000600006.LOG.1
SQLFT0000600006.LOG.2
SQLFT0000600007.LOG
etc
In those logs are Errors like this:
2008-05-12 23:59:54.18 spid21s The component 'AcroRdIF.dll' reported error while indexing. Component path 'C:\Program Files\Adobe\Reader 8.0\Reader\AcroRdIF.dll'.
2008-05-12 23:59:54.18 spid21s Informational: Full-text retry pass of Full population completed for table or indexed view '[****].[dbo].[PDFFiles]' (table or indexed view ID '133575514', database ID '6'). Number of retry documents processed: 1. Number of documents failed: 0.
2008-05-12 23:59:55.18 spid21s Error '0x80004005' occurred during full-text index population for table or indexed view '[****].[dbo].[PDFFiles]' (table or indexed view ID '133575514', database ID '6'), full-text key value 0xD491EECCA4EBD7448EBC99FF
F50E26CD. Attempt will be made to reindex it.
Now if that is the problem row, is that value (0xD491EECCA4EBD7448EBC99F
FF50E26CD)
a GUID, and is it the Primary Key of the Row containing the PDF?
I need to know how to locate the PDF files causing the issue with the indexing, and work out why they are cauing an issue.
Thanks
TheTimp
Answer : MS SQL FTS Index Population Error
i think the below code works...
it gives you the name of the pdf in which letter 'a' is there... all readable pdf's will be listed... out of that we need to find out the unreadable pdf's....
SELECT FT_TBL.id
,FT_TBL.pdf_name
FROM
AS FT_TBL
INNER JOIN FREETEXTTABLE(
,
,
'a') AS KEY_TBL
ON FT_TBL.CategoryID = KEY_TBL.[KEY];
all the best...
Random Solutions
Function Key to go to the bottom of and edit field
How to type a character string using a shortcut key in VBA.
insert missing deleted rows in a table from a backup
SQL awkward behaviour (urgent)
Crystal Reports and VB .Net
Import mail Outlook express to Win 7 and Outlook 2007 or ??
MS Access change regular number to month in query
datediff -- 2 dates are returning the same datefiff value (i.e. 0)
AutoFill field when a selection is Selected
RDS Web Access 2008 R2 - Multiple Logons