Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
filippo
Partner - Contributor III
Partner - Contributor III

QlikOCX Interop.QlikView Assembly problem

Dear All,

Today I downloaded QlikOCX v11 SR2 from QlikView Tech Download Site.

I Tried to use in both Visual Studio 2010/2012 as described in the reference. I can add the OCX control to the toolbar and drag it to the form, but, if i try to open a document with this code:

qlik.OpenDocument(@"c:\\temp\\test.qvw");

I got this error:

Impossible to load file or assembly 'Interop.QlikView, Version=11.0.0.0, etc. etc. etc.

I tried both x64 and x86 version but nothing changes.

What's wrong with it?

Suggestions?

thanks and regards.

Filippo

2 Replies
EternalDX
Contributor III
Contributor III

i have the same problem
Genni_Pazzaglini
Contributor
Contributor

Hi

The solution is to change the reference on Visual Studio (if you go to 'references' choose "Interop.QlickView", "Properties".

Then first modify "embed interop types" into "False", and then "Copy Local" into False.

I did try on my project in c# and it works (set Debug in visual studio on x86, not in AnyCPU).

Genni Pazzaglini