Thanks for the response! I am a new programmer working on the custom application. As far as I know the following has not changed since the custom application was implemented. The QODBC Pro Read/Write 2005 version is 5.00.00.085. The databases we are connecting to are using QuickBooks Enterprise Solutions version 5.0. Also, the version number (when inside the QuickBooks' update screen) is v.15.0.4007.0.
A few more details that might help troubleshooting...
I was going through your website's troubleshooting steps and discovered that the QuickBooks' Automatic Updates were turned on. I cannot tell you if this setting has always been this way or recently changed. To mine and the development team leader's knowledge, in the past few years these settings have not been accessed by the users. That being said, this setting hasn't been changed by the development team.
Only within the past 6 weeks we have noticed the process intermittently dies. No code in the custom application has changed. Sometimes, there is a "Had To Kill QBW32.EXE " message in our application log, which indicates a possible database connectivity loss? Sometimes, there are no errors and the application just stops. When we remotely log into the computer (Win_XP SP2) that runs the application nightly, we see the error message "Run-time error "-2147220452 (8004041c): An internal QuickBooks error occurred while trying to access the QuickBooks company data file." When either of the fore mentioned situations occur we reboot the computer and manually run the application that gets/writes data to QuickBooks/SQL databases and may continue to receive the error message or may not.
Also, within the past 2 months we have added new clients' QB databases to the process (without code changes). Bringing our total database count to 15. No one accesses any databases during the scheduled procedure.
We have a 10-user license.
We actually have 3 scheduled tasks to run our custom application processes, one to update our SQL database to flag which records to export to QB, one to actually export invoices into QB, and one to export payments from QB to SQL. We have eliminated the theory that these tasks are overlapping, because the "Had To Kill QBW32.EXE" message or drop in application logging occurs long before the next task begins or if it is the last task, kills occur hours before users access the QB files.
I hope that this is helpful. If you need any further explanation or would like to see a snippet of our log files, please let me know. We are trying to get this resolved as quickly as possible as to the intervals between failures is increasing dramatically.
Thanks again!
Melissa Knight
Senior Programmer |