I wrote a Console App (using c#) that queries a database for a document (.docx, pdf, .xls, etc.), and extracts the text and inserts the extracted data into a separate table. It works just fine.
However, when I tried doing this as a CLR Assembly it failed every time. Where it's failing is on the call to LoadIFilter. It returns 0x8000FFFF (Catastrophic Failure).
I'm wondering if it's even possible to use COM inside of a CLR Assembly.
Any thoughts?