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
|
|
Connection issues |
Author |
Message |
|
Posted : 2007-06-22 05:14:20 |
We're using ActivePerl in connection with our Desktop Read / Write QODBC instance. Connections from a logged in user running Cmd.exe work fine, however, when called through Apache 2.2 (from localhost or remotely), a CGI script that invokes:
my $Data = new Win32::ODBC("QuickBooksData");
(where QuickBooksData is a DSN that, again, works perfectly from a command line) dies on CGI execution with:
No ODBC connection: Bad file descriptor ([10041] [] "[QODBC] QB Begin Session Failed. Error = 80040408, Could not start QuickBooks. ")
The qbsdklog file excerpt related to this attempt is:
20070621.115805 I 5416 RequestProcessor ========= Started Connection ========= 20070621.115805 I 5416 RequestProcessor Request Processor, QBXMLRP2 v6.0 20070621.115805 I 5416 RequestProcessor Connection opened by app named 'FLEXquarters QODBC' 20070621.115805 E 5416 RequestProcessor
An internal error occured while looking for a running instance of QuickBooks. Cannot continue. hr = 800401f3
20070621.115805 E 5416 RequestProcessor Could not create instance of QuickBooks. hr = 8004041c 20070621.115805 I 5416 RequestProcessor Connection closed by app named 'FLEXquarters QODBC' 20070621.115805 I 5416 RequestProcessor ========== Ended Connection ==========
Thanks! |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-06-22 05:29:13 |
|
|
|
|