Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

Announcements
The #1 reason QlikView customers adopt Qlik Sense is a desire for a modern BI experience. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

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
Highlighted
Contributor III
Contributor III

i have the same problem
Highlighted
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