Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

102
Views
Connection forcibly closed while executing the subqueries in the QuickBooks online ODBC driver connection

I am using the trial version of QuickBooks Online ODBC (QODBC) driver and configured the DSN named QuickBooks Online Data as well as QuickBooks Online Data QRemote

I have ensured the connection using the test tool and I am able to execute the SQL queries properly using the mentioned test tool and C# code.

Please find some of the example queries that works fine:

select * from Account

select account.TimeCreated,account.TimeModified, TaxRate.ListID from account
left outer join TaxRate on account.ListID = TaxRate.ListID

select AVG(RateValue),SUM(RateValue) from TaxRate

select Top 5 ListID,RateValue from TaxRate

While trying to execute the subqueries in the test tool, I am facing the following issue.

Subquery used:

select ListID from (select ListID, TimeCreated from Account)

Exception: ERROR [42S00] ExecDirect Packet Header - Received Error:10054, An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host used a "hard close"

ERROR [42S00] Error Invalid Socket. Either socket is closed, or the socket reference is invalid. For more information please visit: qodbc.com/links/invalidsocket

I have tried the suggested solution in the error message, still, the issue is not resolved.

Also, tried the subquery execution in the c# console application as well and faced the same issue.

Anyone, please let me know the possible solution to resolve this issue?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!