Help get this topic noticed by sharing it on Twitter, Facebook, or email.

AccountHistory refreshAll error

Hi, getting this error when running a refreshAll. Can anyone help?

--- Starting SF_Refresh for AccountHistory V3.4.1
10:33:52: Using last run time of 2016-11-01 09:57:00
OLE DB provider "DBAmp.DBAmp" for linked server "SALESFORCE" returned message "Error 1 : INVALID_QUERY_LOCATOR: Unable to find query cursor data for this QueryLocator (org 00D300000001HEfEAM, path f/00D300000001HEfEAM/m/01g3400004fukxmAAA/0.cursor), please retry your query.".
Error: SF_Refresh failed for table AccountHistory
Error 7320, Severity 16, State 2, Line 1
Cannot execute the query "SELECT "Tbl1005"."AccountId" "Col1018","Tbl1005"."CreatedById" "Col1019","Tbl1005"."CreatedDate" "Col1020","Tbl1005"."Field" "Col1021","Tbl1005"."Id" "Col1022","Tbl1005"."IsDeleted" "Col1023","Tbl1005"."NewValue" "Col1024","Tbl1005"."OldValue" "Col1016" FROM "AccountHistory" "Tbl1005" WHERE "Tbl1005"."CreatedDate">?" against OLE DB provider "DBAmp.DBAmp" for linked server "SALESFORCE".
1 person has
this question
  • Error: "INVALID_QUERY_LOCATOR: Unable to find query cursor data for this QueryLocator"

    There is a limit on the salesforce server to the number of simultaneous queries a sf user can run (10). When the number of queries exceeds this limit then you get this error message.

    Normally you must adjust the schedule of this job and perhaps others to ensure that you stay under the limit. Also, if you use the same sf userid in other 3rd party products, then the queries those products are executing count towards the limit. In other words, it is the total count of all open queries across all 3rd party products for that sf user that is the issue.
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated kidding, amused, unsure, silly