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
How to import data into excel sheet from remote unix box.
how to get the milliseconds from datetime in dotnetcompact framework
Disable the right mouse button for pasting into a textbox
Adding a Text File to a ClickOnce Deployment
How to build and send multiple tables using sp_send_dbmail
Dropdowns in grid view 'edit item template' not working
PLEASE HELP-I Can't make changes to email settings in Outlook
how can i loop through the tables in my database and do a record count for each table?
problem with a FormView control in a sharepoint page.
find a folder name vbs