Wednesday, October 17, 2012

FoxitReaderOCX.ocx failed to load.

Here’s how to fix this error.

For a long while I have been using Foxit Reader for PDF files rather than using Adobe’s PDF Reader. (Adobe kept bugging me too much about installing stuff, all the time it seemed.) After I installed a new Foxit Reader, I began seeing an error whenever a PDF was to be displayed in the browser. It just gave a dialog that said, “FoxitReaderOCX.ocx failed to load.”

FoxitReaderOCX-failed-to-load

Interestingly enough, even when I uninstalled Foxit completely, Chrome still gave me the exact same behavior. The software didn’t change.

Googling turned up little help, but eventually led me to this interesting fact:  Chrome actually loads plugins directly from your Firefox plugins directory. Check your chrome plugins at chrome://plugins/ in your browser and you find some loaded directly from your Firefox directory (if you have Firefox).  You’ll have to click the [+] Details button/link in the upper right to see the full file paths. Here’s some of mine:

plugins-from-firefox-are-loaded

Aha! I remember when I installed the new version of FoxitReader, I unchecked the box to install the Firefox plugin, since I rarely use Firefox.

So first I went to the Firefox plugins directory and removed the offending file “npFoxitReaderPlugin.dll”. Then I ran my new FoxitReader installer and this time I allowed it to install the Firefox plugin, i.e. the new one.

 

new-foxit-plugin