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 : Sporadic QODBC connection problemSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Sporadic QODBC connection problem 
 Author   Message 
  Mike K 
  
 Group: Members 
 Posts: 8 
 Joined: 2006-12-27 
 Profile
 Posted : 2008-07-29 00:36:22

We have been using the server edition of QODBC successfully for a few years now, and are currently using version 7.00.00.204 with QuickBooks Enterprise Edition 2007, running on WIndows 2003 Server, SP1.  We have been running this configuration for about 1 1/2 years.  Occasionally QODBC has had a problem connecting to QuickBooks -- that is QBXMLRPEQODBCInteractive.exe and QBXMLRP2EQODBCInteractive.exe indicate Error when running TestDCOM.asp.  I am very familiar with all of the required steps, permission settings, etc, required to get QODBC to work in this mode, and when this problem occurs, I double check all of those things -- nothing is ever different.  The best way I can describe the current situation is that when the problem occurs, none of the things I try seem to make it work, but if I wait long enough, it will eventually start working again, "by itself" -- its pretty weird.  When this first started happening, it was quick and simple -- I would make everyone get out of QuickBooks, perhaps reboot the server, and everything would be okay.  Eventually, it seemed to take a number of hours before it would start working again.  Now, it's to the point where it takes a few days before it starts working again.  There isn't anything I can determine that's causing it, and nothing I do seems to make a difference -- but if I wait long enough, it will start working again.  Yes, the server is under more load as time passes, and the QuickBooks file is getting bigger (about 400MB), but there is still plenty of memory and disk available.  I generally try to address this issue when the server is not busy at all, with no change in the results. The only discernable changes to the server itself are the application of Microsoft security patches, antivirus updates, etc.  There are no Event Log items that indicate anything out of the ordinary, etc.  I can check in the evening and it still doesn't work, but early the next morning, it's working again, with no discernable changes to the server,  for example.  Any ideas?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-29 08:00:18
All processes using the QODBC Server Edition need to close from time to time to release memory (say every few days). Another problem that can occur is overruns where to many queries are executed at once leaving a failed connection still in memory, but not belonging to a process. Service processes can also take some time until they are released to permit connection again. You will need to reboot to recover from these type of situations. 

  Top 
  Mike K 
  
 Group: Members 
 Posts: 8 
 Joined: 2006-12-27 
 Profile
 Posted : 2008-07-30 00:00:26

The application I wrote is an asp.net application.  It only does one transaction at a time, opening and closing the connection each time.  Or when you say "processes using the QODBC Server Edition", do you mean IIS in this case?  Regardless, I have tried rebooting, and it doesn't help.  In fact, it was working the last time before I rebooted, but after rebooting it would not work for a few days (and then all of a sudden, started working).   Is there anything I can look at to try to figure out what is going on, or anything else to try other than rebooting?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-30 08:09:58

Yes, go the the QODBC Setup Screen and the Messages Tab, click on the Review QODBC Messages anf Review SDK Messages Logs, scroll to the bottom and look for errors in both message logs.

 

  Top 
  Mike K 
  
 Group: Members 
 Posts: 8 
 Joined: 2006-12-27 
 Profile
 Posted : 2008-07-31 00:11:31
I always check these two sources, and when this problem occurs, they contain no relevant entries -- nothing at all with a timestamp anywhere near when the problem occurs, nor entries that indicate a problem of any kind. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-31 08:05:43

Are you using a STA (single-threaded-apartment) threading model in your ASP.NET application?

See: ASP.NET vs Classic ASP 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to