Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
gustavgager
Partner - Creator II
Partner - Creator II

Running Autoitscript from publisher give COM error

Hi there.

Im buildning a Autoitscript that uses Qlikviews COM API to do several selections in an application and then print a PDF file.

Everyting works great when i jus the script (logged on as the same user that runs the services). But when i use "External Program" and run the script from the publisher, i get this COM error:

err.description is:
err.windescription:Server execution failed

err.number is:80080005
err.lastdllerror is:0
err.scriptline is:-1
err.source is:
err.helpfile is:
err.helpcontext is:18996448

It seems to me as the script tries to use the servers engine to run, instead of desktop.

When i initiate the COM object im using this code:$Qview = ObjCreate("QlikTech.QlikView")

$Qview = ObjCreate("QlikTech.QlikView")

Ive build in alot of log options to isolate the error, and it seems that i cant even create the COM Object. Is there a way to perhaps specifiy the .exe to use?

All help is appritiated. Thank you.

Labels (1)
0 Replies