<?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: Script Data Load fails, preview is fine in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Script-Data-Load-fails-preview-is-fine/m-p/1777399#M5728</link>
    <description>&lt;P&gt;For anyone interested, I've just tried this again today and it worked first time without me changing anything from the last time I tried!&amp;nbsp; There must have been some sort of issue on the day.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 12:23:40 GMT</pubDate>
    <dc:creator>Emily-G-Tech</dc:creator>
    <dc:date>2021-01-26T12:23:40Z</dc:date>
    <item>
      <title>Script Data Load fails, preview is fine</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Script-Data-Load-fails-preview-is-fine/m-p/1776302#M5702</link>
      <description>&lt;P&gt;Using QlikSense cloud, trying to follow this example to manage incrementing data loads&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/step-by-step-store-load.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/step-by-step-store-load.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have used this method in our pre-production environment and I know it works but now trying to get it to work on our production environment I am getting errors.&lt;/P&gt;&lt;P&gt;I go into the script editor and create a new connection, select Azure SQL Database, enter the server name, database name and credentials, click 'Test Connection' and get the 'Connection Succeeded' message.&amp;nbsp; I click Create to create the connection.&amp;nbsp; Then I click Select Data, browse to the view I am using as my data source and wait for the preview to load, which it does successfully.&lt;/P&gt;&lt;P&gt;I click on Insert Script and then whether I name my table or not (step 7 in the Select Data.. section) when I click Load Data, I get this error message almost immediately:&lt;/P&gt;&lt;DIV class="headline undefined"&gt;"Started loading data&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Connected&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;The following error occurred:&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;(Connector error: Unable to connect to database: Error message: Please check the values for Username‚ Password‚ Host and other properties. Description: General error)"&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;I've triple checked that the username and password I have set for my data source are correct, I can use them to log into the database using SSMS and successfully run the exact same SELECT statement as in my script.&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;I've also tried deleting and creating a number of times but I can't figure out why it can successfully preview this data but not successfully load it into my app.&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Can anyone give me any tips to troubleshoot this?&lt;BR /&gt;Many thanks.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Script-Data-Load-fails-preview-is-fine/m-p/1776302#M5702</guid>
      <dc:creator>Emily-G-Tech</dc:creator>
      <dc:date>2021-01-21T12:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script Data Load fails, preview is fine</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Script-Data-Load-fails-preview-is-fine/m-p/1777399#M5728</link>
      <description>&lt;P&gt;For anyone interested, I've just tried this again today and it worked first time without me changing anything from the last time I tried!&amp;nbsp; There must have been some sort of issue on the day.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 12:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Script-Data-Load-fails-preview-is-fine/m-p/1777399#M5728</guid>
      <dc:creator>Emily-G-Tech</dc:creator>
      <dc:date>2021-01-26T12:23:40Z</dc:date>
    </item>
  </channel>
</rss>

