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

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

 New Topic 
 
 Post Reply 
[1]  
 ERROR [00000] [QODBC] QB Begin Session Failed. Error = 80040414 
 Author   Message 
  Piyush Varma 
  
 Group: Members 
 Posts: 66 
 Joined: 2006-04-06 
 Profile
 Posted : 2009-02-12 07:20:34
I am using Quick Books Premier 2006 Accountant USA Edition with QODBC Ver:  9.00.00.253.

The program used to work well so far but now I get following error:

ERROR [00000] [QODBC] QB Begin Session Failed. Error = 80040414, A modal dialog box is showing in the QuickBooks user interface. Your application cannot access QuickBooks until the user dismisses the dialog box.

I don't see any dialog box (alert) open for the QB interface.

The QODBC mesasge has following entry:

Begin Session Failed. S0000 00000 [QODBC] QB Begin Session Failed. Error = 80040414, A modal dialog box is showing in the QuickBooks user interface. Your application cannot access QuickBooks until the user dismisses the dialog box.
Begin Session errors can be caused when running ASP or other system service and not setting the "Advanced" button option of either "Use DCOM Servers" or "Remote Connector"

We have a desktop driver installed on the server with Windows Server 2003 R2.

What is happening please?

Thank you,
Piyush 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2009-02-12 10:37:24

The problem here is that the QuickBooks company file is being opened in both modal and non-modal modes at the same time, so if for example someone opens an invoice and your script then tries to create invoices, then you will get a "Error = 80040414, A modal dialog box is showing in the QuickBooks user interface...." which has nothing to do with alerts or pop-up messages. QuickBooks is simply saying that a modal connection is active for this part of QuickBooks and you need to wait.

Normally the other user would eventually close the Invoice modal screen allowing your script retries to be successful.

BTW: I believe that Intuit have made some errors in making a number of user interface (UI) operations in QuickBooks "modal" to Integrated Applications such as QODBC.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to