<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bugs(?) in 9.0 Release in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bugs-in-9-0-Release/m-p/145443#M24163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry, I wanted to file this in the beta-Buglist but apperently I was a few hours late. However I experience some strange errors with the OCX.&lt;/P&gt;&lt;P&gt;- The first one is that after bug #20763 was corrected, a call to &lt;B&gt;QlikOcx.OpenDocument()&lt;/B&gt; now correctly returns a reference to the opened document and also &lt;B&gt;QlikOcx.ActiveDocument&lt;/B&gt; is set correctly. This is however not the case if &lt;B&gt;QlikOcx.CreateDocument&lt;/B&gt; ist called. It correctly returns a reference, but &lt;B&gt;QlikOcx.ActiveDocument&lt;/B&gt; remains &lt;B&gt;null&lt;/B&gt; and also &lt;B&gt;&lt;/B&gt;a &lt;B&gt;&lt;/B&gt;subsequent call to &lt;B&gt;QlikOcx.HasOpenDocuments&lt;/B&gt; returns &lt;B&gt;false&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;- The second one is that I get a &lt;B&gt;ComException&lt;/B&gt; with the errorcode&lt;/P&gt;&lt;P style="font-weight: bold"&gt;HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND)&lt;/P&gt;&lt;P&gt;whenever I try to set &lt;B&gt;QlikOcx.ProductLevel&lt;/B&gt;. An additional problem is that the enum &lt;B&gt;QVX_LVL_ALL&lt;/B&gt; seems to only contain a single constant for &lt;B&gt;QVX_LVL_DEVELOPER&lt;/B&gt;. The previously available ones for &lt;B&gt;QVX_LVL_ANALYZER&lt;/B&gt;, &lt;B&gt;QVX_LVL_ANALYZER_PLUS&lt;/B&gt;, &lt;B&gt;QVX_LVL_PROFESSIONAL&lt;/B&gt; and &lt;B&gt;QVX_LVL_ENTERPRISE&lt;/B&gt; are apperently missing.&lt;/P&gt;&lt;P&gt;- A third problem I just found is that if I do the following:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Ocx.OpenDocument("D:\\APIguide.qvw");&lt;BR /&gt;&lt;BR /&gt;var report = Ocx.Application.CreateEmptyReport();&lt;BR /&gt;report.Id = "myReportId";&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Ocx.ActiveDocument.AddUserReport(report);&lt;BR /&gt;Assert.IsNotNull(Ocx.ActiveDocument.GetUserReport(report.Id));&lt;/P&gt;&lt;P&gt;The call to &lt;B&gt;GetUserReport&lt;/B&gt; results in an &lt;B&gt;COMException&lt;/B&gt; with &lt;B&gt;HRESULT E_FAIL&lt;/B&gt; error.&lt;/P&gt;&lt;P&gt;&lt;B&gt;GetReport&lt;/B&gt; and &lt;B&gt;GetDocReport&lt;/B&gt; on the other hand return the previously added report correctly.&lt;/P&gt;&lt;P&gt;Cheers, Karsten&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2009 19:34:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-29T19:34:19Z</dc:date>
  </channel>
</rss>

