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 : Connection issuesSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Installation Support Forum

 New Topic 
 
 Post Reply 
[1]  
 Connection issues 
 Author   Message 
  Chrixxer 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-06-21 
 Profile
 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!

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-06-22 05:29:13
A call from a service (such as Apache 2.2)  requires the QODBC Server Edition. When calling through a Windows service the QODBC DCOMs and auto-login (unattended mode) needs to be configured.

See: QODBC and Windows Service and How do I setup QODBC to auto-login into QuickBooks and start it if it's not running? for further information.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to