<?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 OpenDoc not able to open document in QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24577#M767776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a vbscript as below to open a QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set objQv = CreateObject("QlikTech.Qlikview")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set objQvDoc = objQv.OpenDoc("d:\test.qvw","","")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;objQvDoc.reloadEx 0,1&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;objQvDoc.CloseDoc&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;objQv.Quit&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script can be run successfully from the Server DOS command prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I schedule it to run in the QMC.&amp;nbsp; I got the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Microsoft VBScript runtime error: Object required: 'objQvDoc'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Can someone help on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>bennywoo</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>OpenDoc not able to open document in QMC</title>
      <link>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24577#M767776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a vbscript as below to open a QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set objQv = CreateObject("QlikTech.Qlikview")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set objQvDoc = objQv.OpenDoc("d:\test.qvw","","")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;objQvDoc.reloadEx 0,1&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;objQvDoc.CloseDoc&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;objQv.Quit&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script can be run successfully from the Server DOS command prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I schedule it to run in the QMC.&amp;nbsp; I got the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Microsoft VBScript runtime error: Object required: 'objQvDoc'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Can someone help on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24577#M767776</guid>
      <dc:creator>bennywoo</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: OpenDoc not able to open document in QMC</title>
      <link>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24578#M767777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot run these types of macros when using QMC, the ones that use ActiveX objects or refer to them or properties. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24578#M767777</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-06-14T07:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: OpenDoc not able to open document in QMC</title>
      <link>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24579#M767778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution.&amp;nbsp; The original qvw file was created in the test server.&amp;nbsp; So I created a another qvw in the production server and copy everything from the original qvw, then the QMC can call the vbscript to execute the qvw successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 05:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OpenDoc-not-able-to-open-document-in-QMC/m-p/24579#M767778</guid>
      <dc:creator>bennywoo</dc:creator>
      <dc:date>2018-06-27T05:06:25Z</dc:date>
    </item>
  </channel>
</rss>

