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 : I receive this error connecting with QODBC. "QB Begin Session Failed. Error = 8004041d"Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 I receive this error connecting with QODBC. "QB Begin Session Failed. Error = 8004041d" 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-22 12:36:52
I receive this error connecting with QODBC. "QB Begin Session Failed. Error = 8004041d, This application is not allowed to log into this QuickBooks company data file automatically. The QuickBooks administrator can grant permission for automatic login through the Integrated Application preferences. (#10041)" What do I do? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-22 12:37:27
You have to authorize QODBC to login to QuickBooks automatically. To do this you must start QuickBooks as the Administrator. Go to the "Edit-Preferences" menu item in QuickBooks. Then select the "Integrated Applications" icon from the left side.

Then highlight one application (usually FLEXquarters QODBC) and press the "Properties" button and click on the Company tab. Check the "Allow this application to access this company file".

Also check the "Allow this application to login automatically" and select a user from the "Login As" drop down. You will need to repeat this for all the applications on the list that you use.

The company file to use must also be specified in the DSN or the connection string you are using. See: How do I setup QODBC to auto-login into QuickBooks and start it if it's not running? 

 

  Top 
  peteb 
  
 Group: Members 
 Posts: 2 
 Joined: 2006-04-28 
 Profile
 Posted : 2006-04-28 03:17:21

I have followed those steps and I still get the error. I am using a C# client to connect.

Quickbooks Version: Enterprise Solutions V6
QODBC Version: 6.00.00.143

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-28 08:45:03
See: After upgrading to QuickBooks 2006, QODBC "auto-login" unattended mode no longer works? for more details on trouble shooting auto-login mode connections. 

  Top 
  Piyush Varma 
  
 Group: Members 
 Posts: 66 
 Joined: 2006-04-06 
 Profile
 Posted : 2007-10-09 04:57:00
Lately, I have been experiencing Auto_login failures with a specific company books. I have carried out steps mentioned in this thread and After upgrading to QuickBooks 2006, QODBC "auto-login" unattended mode no longer works? thread (Remove and Add all users).

The Quick Books Company Preferences screen's Access Rights screen has 'Allow this application to login automatically' is grayed out. Does it have any significance?

Two entries for FlexQuarters ODBC

Allow this application to login automatically is grayed out

Thanks & Regards, Piyush
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-10-09 07:44:56

These settings are normally greyed out within QuickBooks when using USA versions of QuickBooks 2005, 2006, 2007 and 2008 as they are controlled from the "Advanced" tab within the QODBC Setup Screen.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to