<?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: .vbs not working when not logged in in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456239#M1163505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to solve my problem simply by running an empty instance of qlikview via:&lt;/P&gt;&lt;P&gt;Set oShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;oShell.Run "Path to qv.exe"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this before I attempt to create the qlikview object preventet the error from occuring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2012 10:55:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-23T10:55:43Z</dc:date>
    <item>
      <title>.vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456232#M1163498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a .VBS script to launch a QlikView file and do some stuff with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works great when I'm logged into my account, but when I run the vbs as a scheduled task, it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script looks like this:&lt;/P&gt;&lt;P&gt;Line 1: Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;Line 2: wscript.sleep 2000&lt;/P&gt;&lt;P&gt;Line 3: Set docObj = Qv.OpenDoc(qvPath, "", "")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have narrowed it down to line 1 being the point of error. The script exists when trying to execute line 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made sure that the script is run by the same account, but I must be doing something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only requirement for getting this to work, is that I can acces the QV file as an object through the dobObj variable, as the rest of my script depends on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 20:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456232#M1163498</guid>
      <dc:creator />
      <dc:date>2012-10-25T20:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456233#M1163499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upon investigation, I get the following error: &lt;/P&gt;&lt;P&gt;Microsoft VBScript runtime error: ActiveX component can't create object: 'QlikTech.QlikView'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what's causing the pain. Any suggestions on how to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 12:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456233#M1163499</guid>
      <dc:creator />
      <dc:date>2012-10-26T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456234#M1163500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I had a similar issues in a different exemple.&lt;/P&gt;&lt;P&gt;Did you try to create and schedule the task with an user with administrator grants? It worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 14:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456234#M1163500</guid>
      <dc:creator />
      <dc:date>2012-10-26T14:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456235#M1163501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user is a member of the groups "Administrators"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, creating a .bat file with the following contents works without any problems&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /NoSecurity /vbatch_flag=1 "C:\testfile.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the .vbs doesn't &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use regsvr32 to register qvp.dll and qlikocx.ocx it fails at the exact same point, but with no error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 14:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456235#M1163501</guid>
      <dc:creator />
      <dc:date>2012-10-26T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456236#M1163502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friend, I would suggest two checks, maybe not that, but I'm trying to help in some way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) vbs in module options you selected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required security module = System Access&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current Local Security = Allow access to the system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If your application is a server I suggest you do a test leaving a connected session (prey). It happened to me several times while I was logged into the server with a user admin the schedule worked, but when you log off did not work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;Stive - Brazil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456236#M1163502</guid>
      <dc:creator />
      <dc:date>2012-11-23T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456237#M1163503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this perhaps:&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/1aafa6cd-d972-4e5e-8e5b-1acb0239a942" title="http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/1aafa6cd-d972-4e5e-8e5b-1acb0239a942"&gt;http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/1aafa6cd-d972-4e5e-8e5b-1acb0239a942&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456237#M1163503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-23T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456238#M1163504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Johannes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My server is Windows 2003 and apparently does not have the same configuration options ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched for something similar but got no success.&lt;/P&gt;&lt;P&gt;I tried the procedures suggested for 2008 but confusing Were Sleeping ...!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even so thank you!&lt;/P&gt;&lt;P&gt;Stive - Brazil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456238#M1163504</guid>
      <dc:creator />
      <dc:date>2012-11-23T10:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456239#M1163505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to solve my problem simply by running an empty instance of qlikview via:&lt;/P&gt;&lt;P&gt;Set oShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;oShell.Run "Path to qv.exe"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this before I attempt to create the qlikview object preventet the error from occuring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456239#M1163505</guid>
      <dc:creator />
      <dc:date>2012-11-23T10:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456240#M1163506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dude, you tried to access the free module vb as I suggested earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Security Module Required: System Access&lt;/P&gt;&lt;P&gt;Current Local Security: Allow System Access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a quick test here and gave no mistake! ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything verify the syntax of your code on google or websites specializing in vbscript ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hugs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stive - Brazil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 11:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456240#M1163506</guid>
      <dc:creator />
      <dc:date>2012-11-23T11:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456241#M1163507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can tell more about these settings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 03:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456241#M1163507</guid>
      <dc:creator />
      <dc:date>2013-09-25T03:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456242#M1163508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly is your problem? Which part is failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 10:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456242#M1163508</guid>
      <dc:creator />
      <dc:date>2013-09-25T10:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: .vbs not working when not logged in</title>
      <link>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456243#M1163509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my problem&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/395595"&gt;http://community.qlik.com/message/395595&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 10:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/vbs-not-working-when-not-logged-in/m-p/456243#M1163509</guid>
      <dc:creator />
      <dc:date>2013-09-25T10:51:40Z</dc:date>
    </item>
  </channel>
</rss>

