<?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 VBscript Automation OpenDoc fails inconsistently on one server and not another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBscript-Automation-OpenDoc-fails-inconsistently-on-one-server/m-p/503123#M187974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to accomplish something that shold be pretty straightforward -- using VBscript to open QV, load a document, save that document in place, and quit QV. (I'm doing this to create new documents from PRJ files, so if anyone knows a better way to accomplish that I'm all ears...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code runs fine on my dev machine running QV 11 Personal ed. But it sporadically fails in our QA server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13743084610296872" jivemacro_uid="_13743084610296872"&gt;&lt;P&gt;dim qvw_path&lt;/P&gt;&lt;P&gt;qvw_path = Wscript.Arguments(0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set QVapp = CreateObject("QlikTech.Qlikview")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Set QVdoc = QVapp.OpenDoc ( qvw_path )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;REM Wscript.Sleep 2000&lt;/P&gt;&lt;P&gt;QVdoc.SaveAs qvw_path&lt;/P&gt;&lt;P&gt;REM Wscript.Sleep 2000&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;QVdoc.CloseDoc&lt;/P&gt;&lt;P&gt;QVapp.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set QVdoc = Nothing&lt;/P&gt;&lt;P&gt;Set QVapp = Nothing&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running on the QA server this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load_qvw.vbs(7, 1) Microsoft VBScript runtime error: Object required: 'QVdoc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as I mentioned, this works reliably on my own machine. Has anyone experienced this or anything similar? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jul 2013 08:43:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-20T08:43:42Z</dc:date>
    <item>
      <title>VBscript Automation OpenDoc fails inconsistently on one server and not another</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-Automation-OpenDoc-fails-inconsistently-on-one-server/m-p/503123#M187974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to accomplish something that shold be pretty straightforward -- using VBscript to open QV, load a document, save that document in place, and quit QV. (I'm doing this to create new documents from PRJ files, so if anyone knows a better way to accomplish that I'm all ears...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code runs fine on my dev machine running QV 11 Personal ed. But it sporadically fails in our QA server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13743084610296872" jivemacro_uid="_13743084610296872"&gt;&lt;P&gt;dim qvw_path&lt;/P&gt;&lt;P&gt;qvw_path = Wscript.Arguments(0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set QVapp = CreateObject("QlikTech.Qlikview")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Set QVdoc = QVapp.OpenDoc ( qvw_path )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;REM Wscript.Sleep 2000&lt;/P&gt;&lt;P&gt;QVdoc.SaveAs qvw_path&lt;/P&gt;&lt;P&gt;REM Wscript.Sleep 2000&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;QVdoc.CloseDoc&lt;/P&gt;&lt;P&gt;QVapp.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set QVdoc = Nothing&lt;/P&gt;&lt;P&gt;Set QVapp = Nothing&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running on the QA server this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load_qvw.vbs(7, 1) Microsoft VBScript runtime error: Object required: 'QVdoc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as I mentioned, this works reliably on my own machine. Has anyone experienced this or anything similar? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 08:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-Automation-OpenDoc-fails-inconsistently-on-one-server/m-p/503123#M187974</guid>
      <dc:creator />
      <dc:date>2013-07-20T08:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: VBscript Automation OpenDoc fails inconsistently on one server and not another</title>
      <link>https://community.qlik.com/t5/QlikView/VBscript-Automation-OpenDoc-fails-inconsistently-on-one-server/m-p/503124#M187975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There could be some reasons - section access, macros, access rights, network performance ... Isn't easier to use copy/paste to create new apps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 10:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBscript-Automation-OpenDoc-fails-inconsistently-on-one-server/m-p/503124#M187975</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-22T10:02:57Z</dc:date>
    </item>
  </channel>
</rss>

