we have already tried the scenario of running the application using “X86” compiler option instead of “Any CPU”. By doing so the AxInterop.AcroPdfLib.dll file will load the reports without any error. But by doing this change, reports which are viewed in crystal report viewer will stop working. This is because we are using Crystal reports Redistributable package for 64 bit OS. Also our application is very huge with plenty of dynamic link libraries. It is not feasible for us to convert all the dlls to load on 32 bit OS. More over our primary objective of moving to a 64 bit OS was to increase the performance of the application, which will take a down turn by doing this change.
If there is no way to load reports using AxInterop.AcroPdfLib.dll on a 64 bit OS, then we will have to think of some other alternate approach. One of the approach would be drop the facility of loading reports using AxInterop.AcroPdfLib.dll, instead we should change all our reports to be viewed only on crystal reports. This will also have few drawbacks, as we will have to maintain two different versions of files, one for 32 bit and one for 64 bit.
Following is the system configuration: Operating System: Windows Server 2008 Service Pack 1 Acrobat Reader version: Acrobat reader 9.2 Name of the Dll: AxInterop.AcroPDFlib.dll Nature of Problem: We are using AxInterop.AcroPDFlib.dll to load PDF files. When this dll is used on a 32 bit OS, it loads the report without throwing any error. If the same dll is used on a 64 bit OS, it throws “CLASS_NOT_REGISTERED” error. There are no other third party components/application used in the printing process. Is there any AxInterop.AcroPDFLib library which can be used on both 32 bit and 64 bit OS? Please let us know solution to this problem.