<?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: Force connection to 32 bits in macro vbscript? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Force-connection-to-32-bits-in-macro-vbscript/m-p/1058667#M641831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if your issue is really related to a 32-bit connection and for vbs-topics are other sites probably more suitable as qlik community, maybe this one: &lt;A href="http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript" title="http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript"&gt;http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your issue will be caused from feature- respectively security-restriction. For example a server-task didn't execute any macros. Also within the access point by using an AJAX client won't such macros executed and by using such an application within the desktop-client or per IE plugin you need to enable the macro-execution and to write in databases within the user-properties and similar within the qmc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Feb 2016 12:00:12 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-06T12:00:12Z</dc:date>
    <item>
      <title>Force connection to 32 bits in macro vbscript?</title>
      <link>https://community.qlik.com/t5/QlikView/Force-connection-to-32-bits-in-macro-vbscript/m-p/1058666#M641830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to export data from Qv to Oracle database via vbscript macro. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This macro works fine in local and doesn't in the server. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to force the connection to 32 bits instead of 64 bits in the macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Here is the script that allow the connection to Oracle: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;set fso=CreateObject("Scripting.FileSystemObject")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Set cn = CreateObject("ADODB.Connection")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;set cd = CreateObject("ADODB.Command")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Set rs = CreateObject("ADODB.Recordset")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cn.Provider = "MSDAORA.1" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cn.Properties("Data Source").Value = "DWVAL"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cn.Properties("User Id").Value = "DWH_BO" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cn.Properties("Password").Value = "DWH_BO" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cn.Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;cd.ActiveConnection = cn&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks a lot for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Myriam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 14:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-connection-to-32-bits-in-macro-vbscript/m-p/1058666#M641830</guid>
      <dc:creator />
      <dc:date>2016-02-05T14:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Force connection to 32 bits in macro vbscript?</title>
      <link>https://community.qlik.com/t5/QlikView/Force-connection-to-32-bits-in-macro-vbscript/m-p/1058667#M641831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if your issue is really related to a 32-bit connection and for vbs-topics are other sites probably more suitable as qlik community, maybe this one: &lt;A href="http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript" title="http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript"&gt;http://stackoverflow.com/questions/25733257/how-to-connect-to-the-oracle-db-using-vbscript&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your issue will be caused from feature- respectively security-restriction. For example a server-task didn't execute any macros. Also within the access point by using an AJAX client won't such macros executed and by using such an application within the desktop-client or per IE plugin you need to enable the macro-execution and to write in databases within the user-properties and similar within the qmc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 12:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Force-connection-to-32-bits-in-macro-vbscript/m-p/1058667#M641831</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-06T12:00:12Z</dc:date>
    </item>
  </channel>
</rss>

