I have installed DynamicPDF Viewer on my machine & set sample example build mode target to Any CPU.
As by default it runs on 64 bit (on Windows Server 2008), it gives following exception
Could not load file or assembly 'ceTe.DynamicPDF.AxViewer.Control, Version=2.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0a9d8b' or one of its dependencies. An attempt was made to load a program with an incorrect format.
But when I forced application to run under x86, it runs smoothly.
Can anybody suggest why this is happening? & what is alternative to avoid this exception.