<?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 QueryPropertyHistory throws DataAccessException: [2,006] when start date and end date not specified in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/QueryPropertyHistory-throws-DataAccessException-2-006-when-start/m-p/993755#M68851</link>
    <description>I am using ThingWorx Platform Release 9.3.&lt;BR /&gt;&lt;BR /&gt;QueryPropertyHistory does not work when start date and end date not specified, throws DataAccessException: [2,006] Unknown error occurred.&lt;BR /&gt;&lt;BR /&gt;Here are the errors that I faced&lt;BR /&gt;Unable to Invoke Service QueryPropertyHistory on TE2-SEAL_PUMP1-M1 : com.thingworx.common.exceptions.DataAccessException: [2,006] Unknown error occurred. Contact the administrator if this re-occurs.</description>
    <pubDate>Thu, 16 Jan 2025 04:16:44 GMT</pubDate>
    <dc:creator>DL_12699107</dc:creator>
    <dc:date>2025-01-16T04:16:44Z</dc:date>
    <item>
      <title>QueryPropertyHistory throws DataAccessException: [2,006] when start date and end date not specified</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/QueryPropertyHistory-throws-DataAccessException-2-006-when-start/m-p/993755#M68851</link>
      <description>I am using ThingWorx Platform Release 9.3.&lt;BR /&gt;&lt;BR /&gt;QueryPropertyHistory does not work when start date and end date not specified, throws DataAccessException: [2,006] Unknown error occurred.&lt;BR /&gt;&lt;BR /&gt;Here are the errors that I faced&lt;BR /&gt;Unable to Invoke Service QueryPropertyHistory on TE2-SEAL_PUMP1-M1 : com.thingworx.common.exceptions.DataAccessException: [2,006] Unknown error occurred. Contact the administrator if this re-occurs.</description>
      <pubDate>Thu, 16 Jan 2025 04:16:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/QueryPropertyHistory-throws-DataAccessException-2-006-when-start/m-p/993755#M68851</guid>
      <dc:creator>DL_12699107</dc:creator>
      <dc:date>2025-01-16T04:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: QueryPropertyHistory throws DataAccessException: [2,006] when start date and end date not spe...</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/QueryPropertyHistory-throws-DataAccessException-2-006-when-start/m-p/993763#M68853</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/913159"&gt;@DL_12699107&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to &lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/Error-when-using-quot-QueryPropertyHistory-quot-in-Thing/td-p/643702" target="_blank"&gt;this &lt;/A&gt;similar community post.&lt;/P&gt;
&lt;P&gt;Could you please review and share the value stream configuration for entity TE2-SEAL_PUMP1-M1? (is it RemoteValueStream or ValueStream? What persistent provider is configured?)&lt;/P&gt;
&lt;P&gt;And please check database.log and Error.log from ThingworxStorage/logs and the logs directly on the database server.&lt;/P&gt;
&lt;P&gt;Also, can you please confirm whether &lt;SPAN style="background-color:rgb(255,255,255);color:rgb(45,51,56);font-size:13px;"&gt;QueryPropertyHistory can always be executed successfully &lt;/SPAN&gt;if you specify a start date and/or end date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 07:03:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/QueryPropertyHistory-throws-DataAccessException-2-006-when-start/m-p/993763#M68853</guid>
      <dc:creator>TonyZhang</dc:creator>
      <dc:date>2025-01-16T07:03:28Z</dc:date>
    </item>
  </channel>
</rss>

