Problem running examples

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
Synergy
User
Posts: 4
Joined: Fri Aug 15, 2008 8:55 am

Problem running examples

Post by Synergy »

I have downloaded and installed the SDK. I am having problems running the .NET examples. When I run I get this error message:

System.InvalidOperationException occurred
HResult=0x80131509
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Interop.PDFXCviewAxLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>

Inner Exception 1:
BadImageFormatException: Could not load file or assembly 'Interop.PDFXCviewAxLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19794
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Problem running examples

Post by Stefan - PDF-XChange »

Hello Synergy,

Have you read and ensured that you've installed the AX control correctly?
ActiveX Control Installation

Cheers,
Stefan
Post Reply