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 : [QODBC] QB Begin Session Failed. Error = 8004040a.Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 [QODBC] QB Begin Session Failed. Error = 8004040a. 
 Author   Message 
  Mark 
  
 Group: Members 
 Posts: 2 
 Joined: 2007-02-27 
 Profile
 Posted : 2007-02-27 14:51:49
When I try to connect QODBC to QuickBooks for the first time, I start QuickBooks Premier Accountant Edition, open the company file, run VB Demo/Connections/Add New Connection, select QuickBooks Data in Machine Data source and I get the following error message:

"[QODBC] QB Begin Session Failed. Error = 8004040a. A QuickBooks company data file is already open and it is different from the one requested."

What is this error message telling me and how do I proceed to set up the connection?

Mark 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-02-27 15:27:44

The message is saying the company file currently open in QuickBooks is different to the path of the company file setup in your QODBC Setup for the DSN:

Try closing the company file and let QODBC open the company file.

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

 

  Top 
  Mark 
  
 Group: Members 
 Posts: 2 
 Joined: 2007-02-27 
 Profile
 Posted : 2007-02-27 15:53:29
Thanks! All is now good.

Mark 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to