<?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: Object reference not set to an instance of an object after upgrade to QS Sept 2019 in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1646102#M4637</link>
    <description>&lt;P&gt;We applied this fix but it did not help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.qlik.com/articles/Basic/Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it?articleId=Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it" target="_blank" rel="noopener"&gt;https://support.qlik.com/articles/Basic/Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it?articleId=Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 22:21:20 GMT</pubDate>
    <dc:creator>chadwatson</dc:creator>
    <dc:date>2019-11-12T22:21:20Z</dc:date>
    <item>
      <title>Object reference not set to an instance of an object after upgrade to QS Sept 2019</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1646044#M4634</link>
      <description>&lt;P&gt;We have just upgraded our Qlik Sense environment from the November 2018 Patch 2 to the September 2019 release. A number of our apps are giving me this error now when I attempt to reload the data:&lt;/P&gt;&lt;DIV class="headline edc_error"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;The following error occurred:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Unable to get column information for the fields that are used in the query: Object reference not set to an instance of an object.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline edc_error"&gt;&lt;FONT color="#FF0000"&gt;The error occurred here:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&lt;FONT color="#FF0000"&gt;SQL SELECT DISTINCT PERIOD_VALUE ,PERIOD_START_DT_LAST_12 ,PERIOD_END_DT_LAST_12 ,PERIOD_START_DT ,PERIOD_END_DT ,YEAR_DT ,1 as My_Count ,AS_OF_DATE INTO #DATE_TABLE --drop table #DATE_TABLE FROM (SELECT 'CY' PERIOD_VALUE ,DATEADD(MONTH, -11, PERIOD_END_DT) PERIOD_START_DT_LAST_12 ,EOMONTH(PERIOD_END_DT) PERIOD_END_DT_LAST_12 ,DATEADD(MONTH, -23, PERIOD_END_DT) PERIOD_START_DT ,EOMONTH(A.PERIOD_END_DT) PERIOD_END_DT ,YEAR(PERIOD_END_DT) YEAR_DT ,CAST(DATEADD(DAY, -1, GETDATE()) AS DATE) AS_OF_DATE FROM (SELECT DATEADD(DAY, -(DAY(GETDATE()) - 1), CAST(GETDATE() AS DATE)) PERIOD_END_DT) A UNION SELECT 'PY' PERIOD_VALUE ,DATEADD(MONTH, -23, PERIOD_END_DT) PERIOD_START_DT_LAST_12 ,EOMONTH(DATEADD(MONTH, -12, PERIOD_END_DT)) PERIOD_END_DT_LAST_12 ,DATEADD(MONTH, -35, PERIOD_END_DT) PERIOD_START_DT ,EOMONTH(DATEADD(MONTH, -12, PERIOD_END_DT)) PERIOD_END_DT ,YEAR(DATEADD(MONTH, -12, PERIOD_END_DT)) YEAR_DT ,CAST(DATEADD(YEAR, -1, DATEADD(DAY, -1, GETDATE())) AS DATE) AS_OF_DATE FROM (SELECT DATEADD(DAY, -(DAY(GETDATE()) - 1), CAST(GETDATE() AS DATE)) PERIOD_END_DT) A) A&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;We are using the Microsoft SQL Server connection type (connected to a SQL Server 2016 database). The connections work, I can use the data connector tool to look at the database structure and data. No changes were made to the app itself.&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="edc_error"&gt;Any ideas what could be causing this error?&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Dec 2021 15:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1646044#M4634</guid>
      <dc:creator>chadwatson</dc:creator>
      <dc:date>2021-12-23T15:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object after upgrade to QS Sept 2019</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1646102#M4637</link>
      <description>&lt;P&gt;We applied this fix but it did not help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.qlik.com/articles/Basic/Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it?articleId=Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it" target="_blank" rel="noopener"&gt;https://support.qlik.com/articles/Basic/Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it?articleId=Connector-reply-error-Executing-non-SELECT-queries-is-disabled-Please-contact-your-system-administrator-to-enable-it&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1646102#M4637</guid>
      <dc:creator>chadwatson</dc:creator>
      <dc:date>2019-11-12T22:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object after upgrade to QS Sept 2019</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1648670#M4672</link>
      <description>&lt;P&gt;I am finding that this has something to do with SQL temp tables. It doesn't seem to want to select INTO a Temp table (#MyTempTable). Does anyone else use SQL temp tables in their load scripts and then use those temp tables in subsequent queries in the load script?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 16:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1648670#M4672</guid>
      <dc:creator>chadwatson</dc:creator>
      <dc:date>2019-11-19T16:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object after upgrade to QS Sept 2019</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1654783#M4751</link>
      <description>&lt;P&gt;This issue was resolved by installing updated OLE DB connection database drivers and using the OLE DB connection instead of the Microsoft SQL Server connection.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 20:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Object-reference-not-set-to-an-instance-of-an-object-after/m-p/1654783#M4751</guid>
      <dc:creator>chadwatson</dc:creator>
      <dc:date>2019-12-05T20:46:02Z</dc:date>
    </item>
  </channel>
</rss>

