When creating the Searchable Library of PDFs using the "Create Searchable Library Wizard", an error is sometime returned saying that some PDF documents cannot be inserted. We will look at the two main causes of this error.
1- The PDF document has no text
If the document to index has no text in it, the searchable library indexer will not insert that document in the database the process will stop on the following document.
Therefore, if the error occurs on the third document, it means that the second document has no text in it.
2- The document has an unsupported date format
Some tools used to generate the PDF documents sometime use a date format that is not supported by the Adobe Library used in INM Impressario. The CreateDate and ModifyDate values don't have the SS (seconds) values in the YYYY-MM-DDTHH:MM:SSZ date format. Then, the ModDate parameter will add 00 as the SS value which crashes the library. Here's an example the the issue when opening the PDF document with any text editor:
In this example the modify date is missing the "SS" values:
So ModDate will add the 00:
The solution is to replace the final 00 with any number between 01-59:
Save the file and restart the indexing.
If the application will not need to filter the Library by their create or modify date, another solution would be to NOT index the dates.To do that, just uncheck these dates in the Step 2 of 3 from the Searchable Library Wizard.