cancel
Showing results for 
Search instead for 
Did you mean: 
sonukumargonly
Level 1

Quick Book Desktop Connection Error

 

We have a custom .NET application that connects to QuickBooks Desktop to sync payment data with a third-party database. We’re using the QBFC library for this connection. Our goal is to connect to QuickBooks without having to run the QuickBooks application directly. We’ve already granted the necessary permissions to the custom application in QuickBooks preferences.

However, when attempting to connect using the code snippet below, we encounter the following error:

"This application is unable to log into this QuickBooks company data file automatically. The QuickBooks administrator must grant permission for an automatic login through the Integrated Application preferences. If such permission was already granted, the administrator must revoke permission, save preferences, then grant the permission again."

 

this.SessionManager.EndSession(); this.SessionManager.CloseConnection(); SessionManager.OpenConnection("App", AppConstants.QBAppName); //SessionManager.BeginSession("", ENOpenMode.omDontCare); SessionManager.BeginSession(@"C:\\\Test.QBW", ENOpenMode.omDontCare);

Any insights on how to resolve this issue would be greatly appreciated. Thanks in advance!

1 Comment 1
JaeAnnC
QuickBooks Team

Quick Book Desktop Connection Error

I can direct you to the right department for assistance with QuickBooks Desktop (QBDT) integrations, @sonukumargonly.

 

While the Community provides troubleshooting and general advice for QuickBooks concerns, specific integration issues are best handled by our Intuit developers. For detailed assistance, particularly with product integrations, I suggest posting your query to our Intuit Developer Community page.

 

To do that:

 

  1. Go to the Intuit Developer Support website.
  2. Click QuickBooks Desktop.
  3. Select Ask a Question.
  4. When prompted to sign in, log in to your Intuit account.
  5. Enter a short description of your concern and click Ask.

 

Furthermore, you'll want to backup your QBDT company file to safeguard your accounting data.

 

Please don't hesitate to ask if you have other questions about integrating your QBDT with third-party apps. The Community team is open around the clock whenever you need it. Keep safe and have a great rest of the day.

Sign in for expert help
Ask questions, post replies & join our community of QuickBooks users.

Need to get in touch?

Contact us