<?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: Reload in others PCs -- failed ODBC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577406#M683389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Marta,&lt;/P&gt;&lt;P&gt;El driver tiene que ser compatible, aunque no sea el mismo, pero compatible entre los dos. Cuando sale una nueva versión de un producto no siempre sus drivers son compatibles con versiones anteriores.&lt;/P&gt;&lt;P&gt;Por otra parte sí, el password debe ser idéntico, en caso contrario al no funcionar la combinación usuario/contraseña, el sistema pregunta.&lt;/P&gt;&lt;P&gt;Una forma de ahorrarte tener que modificar usuario y password en cada equipo es incluirlo dentro de la definición del DSN de sistema, de esta forma, la sentencia de conexión será algo como:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;ODBC CONNECT32 TO "INTEGRA"; // el user y pass los coge del DSN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Un saludo,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Mar 2014 08:08:54 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2014-03-17T08:08:54Z</dc:date>
    <item>
      <title>Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577400#M683383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tengo mi qvw con la conexion a base de datos:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;ODBC &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;CONNECT32&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[INTEGRA;DBQ=INTEGRA]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XUserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; GWHdZUZNULZOGZFMMH, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XPassword&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; fXIZdUZNULZOGZFMHD); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Paso el documento a un cliente que tiene el mismo usuario y misma base de datos y al hacer la recarga directamente da error de conexión a la base de datos.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Si el cliente abre el documento con el Qlikview destock y realiza él la conexión se le crea esta linea en el script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Lucida Sans Unicode','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: ES; mso-fareast-language: ES; mso-bidi-language: AR-SA;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODBC&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Sans Unicode','sans-serif'; font-size: 7.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: ES; mso-fareast-language: ES; mso-bidi-language: AR-SA;"&gt; &lt;SPAN style="color: blue;"&gt;&lt;STRONG&gt;CONNECT32&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: maroon;"&gt;[INTEGRA ]&lt;/SPAN&gt; (&lt;SPAN style="color: blue;"&gt;XUserId&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;is&lt;/SPAN&gt; BLRWYUZNULZOGZFMbA, &lt;SPAN style="color: blue;"&gt;XPassword&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;is&lt;/SPAN&gt; XMbARBRNBTdKWEZNULZOGZFMSBMCTZcR); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: ES; font-size: 10pt; mso-ansi-language: ES; mso-fareast-theme-font: minor-latin; font-family: 'Lucida Sans Unicode','sans-serif'; mso-fareast-font-family: Calibri;"&gt;Y ya le conecta correctamente.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: ES; font-size: 10pt; mso-ansi-language: ES; mso-fareast-theme-font: minor-latin; font-family: 'Lucida Sans Unicode','sans-serif'; mso-fareast-font-family: Calibri;"&gt;¿Por qué estás diferencias? Si el usuario y base de datos es la misma ¿no debería funcionar la conexión con el documento original que le he mandado yo?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: ES; font-size: 10pt; mso-ansi-language: ES; mso-fareast-theme-font: minor-latin; font-family: 'Lucida Sans Unicode','sans-serif'; mso-fareast-font-family: Calibri;"&gt;Saludos y gracias.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577400#M683383</guid>
      <dc:creator />
      <dc:date>2014-03-14T13:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577401#M683384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is you need to make the ODBC connection on the client computer as it does not exist.&lt;/P&gt;&lt;P&gt;Or you use OLEDB connection then it should work on any computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creo que el problema es que tienes que hacer la conexión ODBC en el equipo cliente como no existe.&lt;/P&gt;&lt;P&gt;O utiliza conexión OLEDB y debería funcionar en cualquier ordenador.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks / Gracias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 14:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577401#M683384</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2014-03-14T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577402#M683385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marta, Generally ODBC connection uses either SYSYTEM DSN or USER DSN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe, the other Laptop uses USER DSN and thats connection should be applicable to that USER only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use OLEDB or create USER DSN for ODBC Connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 01:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577402#M683385</guid>
      <dc:creator />
      <dc:date>2014-03-15T01:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577403#M683386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create on client computer the same odbc connection (DSN) with the same driver you use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or workaround&lt;/P&gt;&lt;P&gt;use an include file for the connection so the user can use his working connection and you your working connection;&lt;/P&gt;&lt;P&gt;there are a lot of post about it, example&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/318028"&gt;Re: Include scripts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or post the 2 odbc screenshot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 10:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577403#M683386</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-15T10:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577404#M683387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Marta,&lt;/P&gt;&lt;P&gt;La conexión ODBC debe estar creada en cada equipo donde el QVW se vaya a recargar. Para ello, primero de todo, deberás instalar el driver correspondiente para poder extraer datos de la fuente de información.&lt;/P&gt;&lt;P&gt;Después deberás crear una conexión ODBC en el ordenador del cliente con el mismo nombre que la tuya para que pueda recargar.&lt;/P&gt;&lt;P&gt;La versión del driver debe ser la misma, si te fijas las líneas tuya y la de tu cliente son distintas, ya que tú has de especificar DBQ y el cliente no.&lt;/P&gt;&lt;P&gt;Un saludo,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2014 10:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577404#M683387</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-03-15T10:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577405#M683388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;El ODBC está creado en el otro equipo, con el mismo nombre y mismo usuario y como DSN de Sistema. Voy a comprobar que la versión del driver sea la misma, ¿tiene que ser la misma?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si la contraseña en mi equipo y en la del cliente es distinta no pasa nada, ¿verdad?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchas gracias a todos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 07:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577405#M683388</guid>
      <dc:creator />
      <dc:date>2014-03-17T07:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577406#M683389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Marta,&lt;/P&gt;&lt;P&gt;El driver tiene que ser compatible, aunque no sea el mismo, pero compatible entre los dos. Cuando sale una nueva versión de un producto no siempre sus drivers son compatibles con versiones anteriores.&lt;/P&gt;&lt;P&gt;Por otra parte sí, el password debe ser idéntico, en caso contrario al no funcionar la combinación usuario/contraseña, el sistema pregunta.&lt;/P&gt;&lt;P&gt;Una forma de ahorrarte tener que modificar usuario y password en cada equipo es incluirlo dentro de la definición del DSN de sistema, de esta forma, la sentencia de conexión será algo como:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;ODBC CONNECT32 TO "INTEGRA"; // el user y pass los coge del DSN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Un saludo,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 08:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577406#M683389</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-03-17T08:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577407#M683390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;En esto ya me pierdo un poco, ¿donde se incluye el usuario y pwd dentro del DSN de sistema? Esto sería lo ideal, porque los documentos se mandarán a 15 o 20 clientes distintos y cada uno tendrá su pwd distinto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;El documento que mandemos tendrá que funcionar tal cual en los 20 clientes, algunos tendrán bd ORACLE y otros SQL SERVER. La base de datos se llama en todas igual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gracias.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 08:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577407#M683390</guid>
      <dc:creator />
      <dc:date>2014-03-17T08:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577408#M683391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Marta,&lt;/P&gt;&lt;P&gt;En la definición de la conexión, en el propio interfaz del driver, siempre tienes una opción de almacenar contraseña y usuario, de la misma forma que tienes opción a probar la conexión. No tengo disponibles ahora mismo interfaces para Oracle o SQL Server, pero sé que se puede hacer.&lt;/P&gt;&lt;P&gt;No obstante, otra opción es incluir ese XUserId y XPassword en variables, de forma que el nombre del DSN sea idéntico en ambas máquinas, y los usuarios se lean de ficheros externos. De hecho esto es bastante habitual cuando trabajas con varios entornos (dev, test, pre, pro) y buena práctica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creas un fichero de texto llamado "credentials.qvs" con el siguiente código (es un ejemplo):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13950533470685082" jivemacro_uid="_13950533470685082"&gt;
&lt;P&gt;SET vXUserId = 'XUserIdScrambledHere';&lt;/P&gt;
&lt;P&gt;SET vXPassword = 'XPasswordScrambledHere';&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y en el fichero QVW, dentro del script añades:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13950533470637743" jivemacro_uid="_13950533470637743"&gt;
&lt;P&gt;$(include=credentials.qvs);&lt;/P&gt;
&lt;P&gt;ODBC CONNECT32 TO [INTEGRA] (XUserId is $(vXUserId), XPassword is $(vXPassword));&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No te fies de la sintaxis, que probablemente necesite alguna comilla más, fíjate en la idea. Lo importante es que el fichero "credentials.qvs" existirá localmente en cada equipo que vaya a realizar recargas y el propio usuario podría modificarlo si dispusiera de permisos sobre el fichero.&lt;/P&gt;&lt;P&gt;Un saludo,&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 10:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577408#M683391</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-03-17T10:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reload in others PCs -- failed ODBC</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577409#M683392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No lo consigo con el include. No consigo recoger los datos del usuario y pwd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y en la creación del ODBC tampoco veo forma de decirle que me guarde usuario y pwd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 14:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-in-others-PCs-failed-ODBC/m-p/577409#M683392</guid>
      <dc:creator />
      <dc:date>2014-03-17T14:53:17Z</dc:date>
    </item>
  </channel>
</rss>

