Feedback
Did this article resolve your question/issue?

   

Article

INVALID_QUERY_LOCATOR: invalid query locator using OpenAccess driver for Salesforce

« Go Back

Information

 
TitleINVALID_QUERY_LOCATOR: invalid query locator using OpenAccess driver for Salesforce
URL Name6070
Article Number000123430
EnvironmentProduct: OpenAccess ODBC for Salesforce Data Source
Version: 1.5
OS: Windows
Database: Salesforce
Application: All supported applications
Question/Problem Description

When executing multiple applications simultaneously using the OpenAccess for ODBC for Salesforce Data Source driver the exception below is thrown.

Steps to Reproduce
Clarifying Information
Error MessageSQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.187 2010] ndam.cpp:2781: [IP] Interface(queryMore) execution error. Exception Type:System.Web.Services.Protocols.SoapException. Exception Message:
SQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.187 2010] ndam.cpp:2781: [IP] Exception Code:
SQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.187 2010] net_util.cpp:36: Error from net_ip_execute()
SQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.202 2010] damdrvex.c:435: dam_call_ip_exec() IP execute function returned error. Return Status=1
SQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.202 2010] damdrv.c:3022: sqldrv_fetch_row() Error fetching result set
SQLDRV : [TID: 1758]:[Tue Jan 26 05:02:40.202 2010] damdrv.c:2780: sqldrv_close_cursor() Error: Cursor is not open.
Defect Number
Enhancement Number
Cause
Salesforce allows a maximum of 10 querylocators to be open at one time.
Resolution
Decrease the amount of queries that are run simultaneously to get below the maximum of 10 querylocators.
Workaround
Notes
References to other documentation:
What does the Invalid Query Locator error mean?
https://help.salesforce.com/apex/HTViewSolution?id=000004410&language=en_US
QueryLocator - SOAP API Developer's Guide
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_querymore_querylocator.htm
 
Last Modified Date10/6/2015 4:29 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.