<?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 Running Autoitscript from publisher give COM error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-Autoitscript-from-publisher-give-COM-error/m-p/578617#M1326835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;Im buildning a Autoitscript that uses Qlikviews COM API to do several selections in an application and then print a PDF file.&lt;/P&gt;&lt;P&gt;Everyting works great when i jus the script (logged on as the same user that runs the services). But when i use "External Program&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" and run the script from the publisher, i get this COM error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;err.description is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.windescription:&lt;/TD&gt;&lt;TD&gt;Server execution failed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;err.number is:&lt;/TD&gt;&lt;TD&gt;80080005&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.lastdllerror is:&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.scriptline is:&lt;/TD&gt;&lt;TD&gt;-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.source is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.helpfile is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.helpcontext is:&lt;/TD&gt;&lt;TD&gt;18996448&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me as the script tries to use the servers engine to run, instead of desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i initiate the COM object im using this code:$Qview = ObjCreate("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;$Qview = ObjCreate("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is appritiated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>gustavgager</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Running Autoitscript from publisher give COM error</title>
      <link>https://community.qlik.com/t5/QlikView/Running-Autoitscript-from-publisher-give-COM-error/m-p/578617#M1326835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;Im buildning a Autoitscript that uses Qlikviews COM API to do several selections in an application and then print a PDF file.&lt;/P&gt;&lt;P&gt;Everyting works great when i jus the script (logged on as the same user that runs the services). But when i use "External Program&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;" and run the script from the publisher, i get this COM error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;err.description is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.windescription:&lt;/TD&gt;&lt;TD&gt;Server execution failed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;err.number is:&lt;/TD&gt;&lt;TD&gt;80080005&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.lastdllerror is:&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.scriptline is:&lt;/TD&gt;&lt;TD&gt;-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.source is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.helpfile is:&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;err.helpcontext is:&lt;/TD&gt;&lt;TD&gt;18996448&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me as the script tries to use the servers engine to run, instead of desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i initiate the COM object im using this code:$Qview = ObjCreate("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;$Qview = ObjCreate("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is appritiated. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-Autoitscript-from-publisher-give-COM-error/m-p/578617#M1326835</guid>
      <dc:creator>gustavgager</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

