Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : QBW32.exe Remains Running After Alpha5 Close ConnectionSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v8 Forum

 New Topic 
 
 Post Reply 
[1]  
 QBW32.exe Remains Running After Alpha5 Close Connection 
 Author   Message 
  Deene Stephenson 
  
 Group: Members 
 Posts: 1 
 Joined: 2007-12-14 
 Profile
 Posted : 2008-02-25 14:52:20

Since I upgraded my client's application to QuickBooks 2008 and QODBC for QuickBooks Version 8, the interface runs successfully, but QBW32.exe remains running after the connection is closed.  The resulting connection state is 0 and there are no error messages in the QODBC log.  We are having to manually terminate QBW32.exe every night.  Otherwise, the QB backup does not run and it uses one of our QB licenses, preventing one user from logging on.

We are running QB on the main server and running the A5/QODBC on a Citrix server, with the QODBC DSN configured to connect to QB in multi-user mode.

I am using Alpha5 xbasic.  Following is a shell of the code used to connect and disconnect:

 dim SHARED conn as ole::adodb.connection

' Code to open connection

   cs_QB = "DSN=my_QB_DSN;DFQ=;OpenMode=F;SERVER=QODBC"
   conn.Open(cs_QB)

' Code to close connection

  if conn.state = 1 then
   fn_util_write_sys_audit("QB Interface","Disconnecting from QB",now())
   conn.close() ' close Connection object and any active Recordset objects associated with the connection
  end if
  if conn.state = 0 then
   fn_QB_connection = .t.
  end if

I write an audit trail after the connection is closed, and it shows the connection state as 0:

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-02-25 15:09:32
If you sent an invalid query to QODBC, it's also possible to leave a broken connection in memory that won't let you close QuickBooks. See: I'm getting the error message "Cannot close company file" for more information.  

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to