If you are facing this error while executing the query from the ASP page:
And you find that the sql query working fine in the SQL Query Analyzer. It might be a problem with Query Time out duration.
We can set the CommandTimeOut property of the ADODB command object. The default value is 30 Sec. and if you set zero then the program will wait indefinitely until the execution is not completed. See below example in the ASP (VBSCRIPT):
Set QyCT1 = server.CreateObject(“ADODB.Command”)
Set QyCT1.ActiveConnection = loConnection ‘Connection object
QyCT1.CommandType = &H0001 ‘adCMDText
QyCT1.CommandText = sql ‘sql query
QyCT1.CommandType = &H0001
QyCT1.Properties(“Access Order”) = 0
Set loRecordset = QyCT1.Execute
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100, Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.
For more information on our integration solutions, please contact us at firstname.lastname@example.org. We will be glad to assist you.