<?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 Re: 'Retrieving the COM class factory' error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391610#M1303654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything is setup for x86 (32-bit).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 15:01:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T15:01:30Z</dc:date>
    <item>
      <title>'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391608#M1303650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've written a VB.NET (2010) desktop application that will allow a user to either open an existing QlikView document and refresh its data or create a new QlikView document (both in the QlikView application via the Interop.QlikView.dll).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;strReportPath &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;String&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt;"&gt;"myTest.qvw"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; myQV &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt;"&gt;Document&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt;"&gt;File&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.Exists(strReportPath) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; myApp &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt;"&gt;Application&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myQV = myApp.CreateDoc()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; myProps &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; QlikView.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt;"&gt;IDocumentProperties&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = myQV.GetProperties&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myProps.Script = myProps.Script &amp;amp; strLoadScript&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myQV.SetProperties(myProps)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myQV.SaveAs(strReportPath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myQV.CloseDoc()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;myQV = GetObject(strReportPath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;myQV.Reload()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code works like a charm on my machine.&amp;nbsp; I have installed it and cannot duplicate the error.&amp;nbsp; However, when I install it on another machine for testing (via a standard .NET installer), I recieve the 'Retrieving the COM class factory..' error.&amp;nbsp; Both machines are running the 32-bit version of the Personal Edition 11.0.11440.0 SR2.&amp;nbsp; I have tried copying the Interop.QlikView.dll locally and even registering it.&amp;nbsp; Nothing has worked.&amp;nbsp; Has anyone else run into this problem?&amp;nbsp; What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391608#M1303650</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391609#M1303652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the CPU affinity (or target CPU platform) for you application?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing the CPU target to 32bit and rebuild.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 01:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391609#M1303652</guid>
      <dc:creator />
      <dc:date>2013-02-28T01:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391610#M1303654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything is setup for x86 (32-bit).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 15:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391610#M1303654</guid>
      <dc:creator />
      <dc:date>2013-02-28T15:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391611#M1303657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I've not seen this error in this context, so just suggesting an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Test machine is running the same flavor of OS (x86 or x64) as your Development machine, and both have identical QV desktop/OCX installs, then my suggestions run dry.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 15:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391611#M1303657</guid>
      <dc:creator />
      <dc:date>2013-02-28T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391612#M1303660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to manually register the Interop.QlikView.dll, I get the following message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module "C:\Interop.QlikView.dll" was loaded but the entry-point DllRegisterServer was not found. make sure that C:\Interop.QlikView.dll is a valid DLL or OCX file and try again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391612#M1303660</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391613#M1303664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That suggests that Interop.QlikView.dll does not have a RegisterServer method.&amp;nbsp; So I'd try just copying to your application folder (or to C:\Windows\System32 if x86 OS, or to C:\Windows\SysWOW64 if x64 OS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the Interop.QlikView.dll an assembly created from the QlikView.OCX file?&amp;nbsp; Have you tried using RegAsm to regsiter this (if this is a .NET assembly)?&amp;nbsp; On your development machine, the registration would have been done for you by your VS.net installation.&amp;nbsp; But you may need to register the assembly on the other machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391613#M1303664</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391614#M1303666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Donald - I tried both.&amp;nbsp; Unfortunately, neither worked.&amp;nbsp; RegAsm gives the exact same error as regsvr32.&amp;nbsp; The Interop.QlikView.dll is generated when you add a reference to Qv.exe in your Project Properties References tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 19:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391614#M1303666</guid>
      <dc:creator />
      <dc:date>2013-02-28T19:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: 'Retrieving the COM class factory' error</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391615#M1303668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a file&lt;STRONG&gt; IEShims.dll&lt;/STRONG&gt; in &lt;STRONG&gt;C:\Programs Files\Internet Explorer&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And is &lt;STRONG&gt;C:\Program Files\Internet Explorer &lt;/STRONG&gt;in your PATH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Playing around with Dependency Walker on Interop.QlikView.dll and this appears suspect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 00:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieving-the-COM-class-factory-error/m-p/391615#M1303668</guid>
      <dc:creator />
      <dc:date>2013-03-01T00:42:13Z</dc:date>
    </item>
  </channel>
</rss>

