I'm trying to schedule a task to reload my qvw. When running the script, I get this Windows Script Host error:
Script: <Script location> Line: 10 (varies) Char: 1 Error: The object invoked has disconnected from its clients. Code: 80010108 Source: (null)
Here is the script:
Dim qv Dim qvDoc
Set qv = CreateObject("QlikTech.QlikView")
Set qvDoc = qv.OpenDoc("Q:\AgencyList.qvw")
Set qvDoc = Nothing Set qv = Nothing
What am I doing wrong? Why do I always get this issue? Sometimes, it will do the reload, then get the error leaving QlikView open without saving the app. -- The Line # changes according to where it decides to error out.
Once it actually went all the way through the script with no issue.
Also, is there a way for the script to run without visably opening QlikView?
I have the same problem. My script works fine on WinXP 32bits but It doesn't work on Win2003 x64. I updated QV to SR3 from SR2, before that it works fine on x64. The command line solution isn't an option for me, because I need to copy some tables and graphs using automation.
You can find a simple test that I created at http://dl.dropbox.com/u/1398645/QVAutomationTest.zip. This test works fine on my WinXP 32bits with QV SR3 and didn't work on my Windows Server 2003 64 bits with QV SR3. I also tried some automation with IE to check if I have a problem with OLE, but it works fine on both systems. So, I suspect that it's a QV problem.
miha.batic wrote: I have similar problem - my vbscript works OK on my local machine running Windows 7 and QlikView 9 SR2, but it doesn't work on Windows 2003 SP2 with QlikView 9 SR3. Is there any solution yet?<div></div>
Me too! QV 9 SR 2 (7320) works fine (Windows Server 2003 R2 x64)
But SR 3 (7440) does not - gives me same error mentioned above: "The object invoked has disconnected from its clients"