<?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 Cscript on 64-bit Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275123#M1180493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble running a macro&amp;nbsp; (.vbs file) in Qlikview Publisher via the supporting tasks. The macro sends an email and it runs fine logged into the console as Qlikadmin but when i run it in Publisher the Log file tells me that ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;The specified executable is not a valid Win32 application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;which after checking other posts indicates that the server is running on 64 and requires the 32bit cscript to run. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;As per HBerzajs' post in 2010, (&lt;A _jive_internal="true" href="https://community.qlik.com/thread/20886"&gt;http://community.qlik.com/thread/20886&lt;/A&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/20886"&gt;Batch vbscript for 64-bit server&lt;/A&gt;) I've tried amending the command line in supporting tasks to point to cscript (for 32 bit) before pointing to the .vbs file. Here's the code in the command line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;C:\Windows\SysWow64\csript.exe C:\QLIKVIEW\EmailMacro.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;When i run this i get &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;"The system cannot find the file specified"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked that "C:\Windows\SysWow64\csript.exe" exists and it does. I've even tried putting a copy of cscript into C:\QLIKVIEW and running the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;C:\QLIKVIEW\csript.exe C:\QLIKVIEW\EmailMacro.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;Nothing happens though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="font-family: %value;"&gt;We're running version &lt;/SPAN&gt;9.0.7773.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 14:54:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-02T14:54:56Z</dc:date>
    <item>
      <title>Cscript on 64-bit Server</title>
      <link>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275123#M1180493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble running a macro&amp;nbsp; (.vbs file) in Qlikview Publisher via the supporting tasks. The macro sends an email and it runs fine logged into the console as Qlikadmin but when i run it in Publisher the Log file tells me that ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;The specified executable is not a valid Win32 application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;which after checking other posts indicates that the server is running on 64 and requires the 32bit cscript to run. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;As per HBerzajs' post in 2010, (&lt;A _jive_internal="true" href="https://community.qlik.com/thread/20886"&gt;http://community.qlik.com/thread/20886&lt;/A&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/20886"&gt;Batch vbscript for 64-bit server&lt;/A&gt;) I've tried amending the command line in supporting tasks to point to cscript (for 32 bit) before pointing to the .vbs file. Here's the code in the command line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;C:\Windows\SysWow64\csript.exe C:\QLIKVIEW\EmailMacro.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;When i run this i get &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;"The system cannot find the file specified"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked that "C:\Windows\SysWow64\csript.exe" exists and it does. I've even tried putting a copy of cscript into C:\QLIKVIEW and running the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;C:\QLIKVIEW\csript.exe C:\QLIKVIEW\EmailMacro.vbs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;Nothing happens though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;&lt;SPAN style="font-family: %value;"&gt;We're running version &lt;/SPAN&gt;9.0.7773.9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: %value;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 14:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275123#M1180493</guid>
      <dc:creator />
      <dc:date>2011-12-02T14:54:56Z</dc:date>
    </item>
    <item>
      <title>Cscript on 64-bit Server</title>
      <link>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275124#M1180494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can no-one help me with this? If i've not posted this in the correct place then please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 10:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275124#M1180494</guid>
      <dc:creator />
      <dc:date>2011-12-05T10:50:34Z</dc:date>
    </item>
    <item>
      <title>Cscript on 64-bit Server</title>
      <link>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275125#M1180495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to point at the 32bit version of Cscript held at;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\WINDOWS\system32\cscript.exe"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rather than the 64 bit version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 14:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cscript-on-64-bit-Server/m-p/275125#M1180495</guid>
      <dc:creator />
      <dc:date>2011-12-14T14:18:22Z</dc:date>
    </item>
  </channel>
</rss>

