How to fix Unhandled Exception: System.Runtime.InteropServices.COMException: The procedure number is out of range. (Exception from HRESULT: 0x800706D1) at at Acrobat.*

Recently I came across the following error when developing against Acrobat DC libraries:

Unhandled Exception: System.Runtime.InteropServices.COMException: The procedure number is out of range. (Exception from HRESULT: 0x800706D1) at Acrobat.CAcroAVDoc.Open(String szFullPath, String szTempTitle) at *.Program.ConvertToPDF(String inputPath, String outputPath) at *.Program.Main(String[] args) and this article describes the simplest way to fix the problem. [Read more…]