March 12, 2014 at 4:39 am
Using adobe ifilters on filtables..
This is really a continuation of an earlier topic ( http://www.sqlservercentral.com/Forums/Topic1464679-2799-1.aspx#bm1465104 )
After getting the adobe iFilter 9 working on the development site on my laptop it was time to deploy to the server..
I was confident, having spent days fiddling around trying to get the ifilter to index the documents, that deploying to the production server should be a breeze but I'm now getting the error: 'Error '0x8004fd02: The filter daemon MSFTEFD failed to load an IFilter interface for document' whenever I try and index a pdf document..
So..
adobe ifilter 9 is installed
EXEC sp_help_fulltext_system_components 'filter' shows filter the filter for pdf is installed at 'C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin\PDFFilter.dll'
PATH environment is set to the above directory
Permissions to the above folder is set to 'EVERYONE' has full control (temporary until I can get it working!)
ft_index dropped and recreated several times, numerous restarts both of sql services and the complete server but still can't index pdf files!
All other file types (docX etc) seem to index fine..
In serious need of some ideas so any help really appreciated.
Thanks in advance..
March 12, 2014 at 5:13 am
Update and solution...
The problem in this case proved to be the PATH variable..
Setting the PATH through Control Panel > System > Advanced System Settings apparently only changes the path for the currently logged on user?
Running this command:
DECLARE @RegistryValueNVARCHAR(4000)
,@RCINT
,@HiveNVARCHAR(128)=N'HKEY_LOCAL_MACHINE'
,@KeyNVARCHAR(255)=N'SYSTEM\CurrentControlSet\Control\Session Manager\Environment'
,@ItemNVARCHAR(128)=N'Path';
EXEC @rc = master.dbo.xp_regread@Hive
,@Key
,@Item
,@RegistryValue OUTPUT
,N'Not Used'
SELECT @RegistryValue RegistryValue;
Shows the PATH variable actually used, which did NOT contain the path to the iFilter.
Altered the corresponding key HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager > Environment >PATH using regedit to include the path, re-registered the iFilter, dropped and recreated the full text index and everything works fine!
Not sure whether this is me being slow or whether the documentation is just poor but hopefully this might save someone from premature hair loss!
August 20, 2015 at 3:43 am
I have had the same problem!
I saerched so long for a solution...
Thank you very much...with this advice the index of pdf files now works...:-)
August 20, 2015 at 8:27 am
Jeff ingham (3/12/2014)
...hopefully this might save someone from premature hair loss!
Apparently, it DID! Well done!
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2016 at 5:55 am
Thank you ever so much for reporting back, Jeff - brilliant and worked like a charm.
Who would have guessed that installing PDF iFilter doesn't work out of the box without path additions, when iFilter for Office 2010 does? :ermm:
October 20, 2017 at 2:38 pm
Thanks for figuring this out Jeff. I had the same problem and editing the PATH in the registry as you described fixed it.
October 20, 2017 at 3:11 pm
Been a while but I thought there was a way to update the PATH without directly editing the registry. I will have to do some research over the weekend.
October 20, 2017 at 5:05 pm
Lynn Pettis - Friday, October 20, 2017 3:11 PMBeen a while but I thought there was a way to update the PATH without directly editing the registry. I will have to do some research over the weekend.
Maybe you were thinking of setx from the command line?
You can update the machine environment variables with setx. Will update HKLM instead of HKCU when using the /m switch.
Sue
October 20, 2017 at 5:27 pm
Sue_H - Friday, October 20, 2017 5:05 PMLynn Pettis - Friday, October 20, 2017 3:11 PMBeen a while but I thought there was a way to update the PATH without directly editing the registry. I will have to do some research over the weekend.Maybe you were thinking of setx from the command line?
You can update the machine environment variables with setx. Will update HKLM instead of HKCU when using the /m switch.Sue
Actually I seem to remember a GUI interface for doing this. Of course the last time I had to worry about this I was working with NT 4.0.
October 23, 2017 at 6:29 am
Lynn Pettis - Friday, October 20, 2017 5:27 PMSue_H - Friday, October 20, 2017 5:05 PMLynn Pettis - Friday, October 20, 2017 3:11 PMBeen a while but I thought there was a way to update the PATH without directly editing the registry. I will have to do some research over the weekend.Maybe you were thinking of setx from the command line?
You can update the machine environment variables with setx. Will update HKLM instead of HKCU when using the /m switch.Sue
Actually I seem to remember a GUI interface for doing this. Of course the last time I had to worry about this I was working with NT 4.0.
You can, quite easily.
Right click on Computer-> Properties-> Advanced system settings-> Environment Variables-> then find Path in the System variables section and change away.
October 23, 2017 at 8:33 am
jasona.work - Monday, October 23, 2017 6:29 AMLynn Pettis - Friday, October 20, 2017 5:27 PMSue_H - Friday, October 20, 2017 5:05 PMLynn Pettis - Friday, October 20, 2017 3:11 PMBeen a while but I thought there was a way to update the PATH without directly editing the registry. I will have to do some research over the weekend.Maybe you were thinking of setx from the command line?
You can update the machine environment variables with setx. Will update HKLM instead of HKCU when using the /m switch.Sue
Actually I seem to remember a GUI interface for doing this. Of course the last time I had to worry about this I was working with NT 4.0.
You can, quite easily.
Right click on Computer-> Properties-> Advanced system settings-> Environment Variables-> then find Path in the System variables section and change away.
Thank you, I knew there was an easier way than editing the registry.
February 19, 2024 at 12:07 am
Thank you so much, wasted an entire day on this. It's midnight here atm and only just come across this and it worked first time with version 11 of Adobe iFilter on SQL 2022. Going to bed now!
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply