<?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 Salesforce data reload working in Desktop client, doesn't work in SBE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Salesforce-data-reload-working-in-Desktop-client-doesn-t-work-in/m-p/440629#M1229358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using the Salesforce.com connector for a while on a local document that I have developed on my own machine. It's now come time to put it on a server so others can access it too. The problem I have is that, whilst it reloads fine in the Desktop client, as soon as I try to reload via the server (SBE), it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some of the symptoms:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the TaskLog from the server I get messages like:&lt;UL&gt;&lt;LI&gt;Error The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\USERDOCS\Salesforce.qvw.&lt;/LI&gt;&lt;LI&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The task "UserDocs/Salesforce.qvw" failed. Exception: &lt;BR /&gt;QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.ReloadFailedException: Reload failed ---&amp;gt; QDSMain.Exceptions.LogBucketErrorException: The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\USERDOCS\Salesforce.qvw.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;--- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;--- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In the DocumentLog I get messages like:&lt;UL&gt;&lt;LI&gt;CUSTOM CONNECT*Provider*SalesForceDLL.dll*XUserId*XPassword*&lt;/LI&gt;&lt;LI&gt;LOAD Id as UserId,&lt;BR /&gt;***Lots more fields***&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM User&lt;/LI&gt;&lt;LI&gt;Error: Field not found - &amp;lt;Id&amp;gt;&lt;/LI&gt;&lt;LI&gt;General Script Error&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I finally traced what appears to be the key difference down to the Salesforce connector logs (C:\ProgramData\QlikTech\Custom Data\SalesForce\Log)&lt;UL&gt;&lt;LI&gt;When it is successful, I get entries like:&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Connected to SalesForce with C:\Program Files\Common Files\QlikTech\Custom Data\SalesForceDLL.dll version 11, 0, 10017, 0 (DLL Protocol version: 2)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;EndPointUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.salesforce.com/services/Soap/u/21.0" target="_blank"&gt;https://www.salesforce.com/services/Soap/u/21.0&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SessionId=[a long encoded string]&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;ServerUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://eu2-api.salesforce.com/services/Soap/u/21.0/" target="_blank"&gt;https://eu2-api.salesforce.com/services/Soap/u/21.0/&lt;/A&gt;&lt;SPAN&gt;[something I'm not sure I should post here]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result_Init called with query string "SELECT Id, [lots of fields again] FROM User"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Successful fetch of&lt;STRONG&gt; &lt;X&gt; rows&lt;/X&gt;&lt;/STRONG&gt; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 seconds)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When it is unsuccessful, I get entries like this (note the lack of SessionId and ServerUrl and zero rows returned):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Connected to SalesForce with C:\Program Files\Common Files\QlikTech\Custom Data\SalesForceDLL.dll version 11, 0, 10017, 0 (DLL Protocol version: 2)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;EndPointUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.salesforce.com/services/Soap/u/21.0" target="_blank"&gt;https://www.salesforce.com/services/Soap/u/21.0&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SessionId=&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;ServerUrl=&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result_Init called with query string "SELECT Id, [lots of fields again] FROM User"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Successful fetch of&lt;STRONG&gt; 0 rows&lt;/STRONG&gt; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 seconds)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected this was because the Salesforce credentials were only usable by the user that owns the QVW or something. So I logged in as the service user and opened the document in Desktop and it reloaded fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I suspect there's a setting somewhere - either in the document or on the server - that means these connection details are getting wiped for some reason. Does anyone know of such a setting or if there is something else I can do to solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
    <dc:creator>AlexOmetis</dc:creator>
    <dc:date>2026-01-26T21:26:37Z</dc:date>
    <item>
      <title>Salesforce data reload working in Desktop client, doesn't work in SBE</title>
      <link>https://community.qlik.com/t5/QlikView/Salesforce-data-reload-working-in-Desktop-client-doesn-t-work-in/m-p/440629#M1229358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using the Salesforce.com connector for a while on a local document that I have developed on my own machine. It's now come time to put it on a server so others can access it too. The problem I have is that, whilst it reloads fine in the Desktop client, as soon as I try to reload via the server (SBE), it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some of the symptoms:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the TaskLog from the server I get messages like:&lt;UL&gt;&lt;LI&gt;Error The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\USERDOCS\Salesforce.qvw.&lt;/LI&gt;&lt;LI&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The task "UserDocs/Salesforce.qvw" failed. Exception: &lt;BR /&gt;QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.ReloadFailedException: Reload failed ---&amp;gt; QDSMain.Exceptions.LogBucketErrorException: The Source Document was NOT reloaded successfully. DocumentPath=C:\QLIKVIEW\USERDOCS\Salesforce.qvw.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.VerifyConditions(TaskResult taskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;--- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;--- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In the DocumentLog I get messages like:&lt;UL&gt;&lt;LI&gt;CUSTOM CONNECT*Provider*SalesForceDLL.dll*XUserId*XPassword*&lt;/LI&gt;&lt;LI&gt;LOAD Id as UserId,&lt;BR /&gt;***Lots more fields***&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM User&lt;/LI&gt;&lt;LI&gt;Error: Field not found - &amp;lt;Id&amp;gt;&lt;/LI&gt;&lt;LI&gt;General Script Error&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I finally traced what appears to be the key difference down to the Salesforce connector logs (C:\ProgramData\QlikTech\Custom Data\SalesForce\Log)&lt;UL&gt;&lt;LI&gt;When it is successful, I get entries like:&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Connected to SalesForce with C:\Program Files\Common Files\QlikTech\Custom Data\SalesForceDLL.dll version 11, 0, 10017, 0 (DLL Protocol version: 2)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;EndPointUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.salesforce.com/services/Soap/u/21.0" target="_blank"&gt;https://www.salesforce.com/services/Soap/u/21.0&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;SessionId=[a long encoded string]&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;ServerUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://eu2-api.salesforce.com/services/Soap/u/21.0/" target="_blank"&gt;https://eu2-api.salesforce.com/services/Soap/u/21.0/&lt;/A&gt;&lt;SPAN&gt;[something I'm not sure I should post here]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result_Init called with query string "SELECT Id, [lots of fields again] FROM User"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Successful fetch of&lt;STRONG&gt; &lt;X&gt; rows&lt;/X&gt;&lt;/STRONG&gt; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 seconds)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When it is unsuccessful, I get entries like this (note the lack of SessionId and ServerUrl and zero rows returned):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Connected to SalesForce with C:\Program Files\Common Files\QlikTech\Custom Data\SalesForceDLL.dll version 11, 0, 10017, 0 (DLL Protocol version: 2)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;EndPointUrl=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.salesforce.com/services/Soap/u/21.0" target="_blank"&gt;https://www.salesforce.com/services/Soap/u/21.0&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SessionId=&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;ServerUrl=&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Result_Init called with query string "SELECT Id, [lots of fields again] FROM User"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Successful fetch of&lt;STRONG&gt; 0 rows&lt;/STRONG&gt; (&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 seconds)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected this was because the Salesforce credentials were only usable by the user that owns the QVW or something. So I logged in as the service user and opened the document in Desktop and it reloaded fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I suspect there's a setting somewhere - either in the document or on the server - that means these connection details are getting wiped for some reason. Does anyone know of such a setting or if there is something else I can do to solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Salesforce-data-reload-working-in-Desktop-client-doesn-t-work-in/m-p/440629#M1229358</guid>
      <dc:creator>AlexOmetis</dc:creator>
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
  </channel>
</rss>

