<?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: How can I decode a pair of XUserID and XPassword in ODBC Connector? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136946#M20443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a much easier solution to decrypt the XPASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sql_user;Initial Catalog=DBSQL;Data Source=13.37.13.37;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=QLIKVIEW;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is XXXXXXXXXXXXXXXXXXXXXXX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vPassword = REPLACE(CONNECTSTRING(), ';', '.');&lt;/P&gt;&lt;P&gt;TRACE $(vPassword);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 09:09:03 GMT</pubDate>
    <dc:creator>vhayward</dc:creator>
    <dc:date>2018-09-18T09:09:03Z</dc:date>
    <item>
      <title>How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136943#M20440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the topic "&lt;SPAN style="font-family: inherit; font-weight: inherit; font-style: inherit; color: #3778c7;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/688812#688812" style="font-family: inherit; font-size: 26px; font-weight: inherit; font-style: inherit; color: #3778c7;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;How to generate xuser &amp;amp; xpassword in txt fil&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; font-weight: inherit; font-style: inherit; color: #3778c7;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/688812#688812" style="font-family: inherit; font-size: 26px; font-weight: inherit; font-style: inherit; color: #3778c7;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;e&lt;/SPAN&gt;&lt;/A&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but the VBScript provided from the answer cannot be run and report syntax errors in my QlikView, &lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 08:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136943#M20440</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-08-14T08:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136944#M20441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the VBScript, I deleted the underline and merged the context into the same line. No syntax errors were reported again, but the result of conversion was garbled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 08:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136944#M20441</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-08-14T08:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136945#M20442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here I found my own way:&lt;/P&gt;&lt;P&gt;1. Rename the connection string that you have defined before.&lt;/P&gt;&lt;P&gt;2. Reload.&lt;/P&gt;&lt;P&gt;3. Then you will receive an error "SQL##f - SqlState: 28000, ErrorCode: 18456, ErrorMsg: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'XXX'." Note that the last XXX is the original username.&lt;/P&gt;&lt;P&gt;4. Modify the connection parameters again to copy the XPassword to the XUserID.&lt;/P&gt;&lt;P&gt;5. Reload again.&lt;/P&gt;&lt;P&gt;6. &lt;SPAN style="font-size: 13.3333px;"&gt;Then you will receive an similar error. &lt;SPAN style="font-size: 13.3333px;"&gt;Note that this time the last XXX is the original password.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 01:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136945#M20442</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-08-15T01:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136946#M20443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a much easier solution to decrypt the XPASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sql_user;Initial Catalog=DBSQL;Data Source=13.37.13.37;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=QLIKVIEW;Use Encryption for Data=False;Tag with column collation when possible=False] (XPassword is XXXXXXXXXXXXXXXXXXXXXXX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vPassword = REPLACE(CONNECTSTRING(), ';', '.');&lt;/P&gt;&lt;P&gt;TRACE $(vPassword);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136946#M20443</guid>
      <dc:creator>vhayward</dc:creator>
      <dc:date>2018-09-18T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136947#M20444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the connection string works, the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CONNECTSTRING()&lt;/SPAN&gt; function returns detailed connection information including the plaintext username and password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ConnectString&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(), ';', '\n')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 02:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/136947#M20444</guid>
      <dc:creator>thomas_wang</dc:creator>
      <dc:date>2018-09-19T02:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1620039#M445689</link>
      <description>&lt;P&gt;Great solution, I didn't know that function.&lt;/P&gt;&lt;P&gt;Many thanks!&lt;BR /&gt;Riccardo&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1620039#M445689</guid>
      <dc:creator>rzenere_avvale</dc:creator>
      <dc:date>2019-09-04T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1691541#M450650</link>
      <description>&lt;P&gt;It works thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Malli&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 11:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1691541#M450650</guid>
      <dc:creator>cg1_qlik</dc:creator>
      <dc:date>2020-04-07T11:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I decode a pair of XUserID and XPassword in ODBC Connector?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1752099#M453643</link>
      <description>&lt;P&gt;is this not working anymore in QV 12.50 ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 15:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-decode-a-pair-of-XUserID-and-XPassword-in-ODBC/m-p/1752099#M453643</guid>
      <dc:creator>tester</dc:creator>
      <dc:date>2020-10-13T15:17:16Z</dc:date>
    </item>
  </channel>
</rss>

