# Application has not Accessed this QuickBooks Company Data File Before

This application has not accessed this QuickBooks company data file before. The QuickBooks administrator must grant an application permission to access a QuickBooks company data file for the first time.

#### Summary

This application has not accessed this QuickBooks company data file before.This article explains how to identify and resolve the issue with quickbooks Desktop

#### Problem

Sometimes, on reconfiguring the DBsync with New QBD File, an error appears in Quickbooks:&#x20;

```
This application has not accessed this QuickBooks company data file before. 
```

This application has not accessed this QuickBooks company data file before. The QuickBooks administrator must grant an application permission to access a QuickBooks company data file for the first time.

#### Applies To&#x20;

**Product/Service**: DBSync Cloud Workflow&#x20;

**Versions**: All versions supporting Salesforce-QBD integration&#x20;

**Operating Systems**: Platform-independent (Cloud-based)&#x20;

**Databases / Connectors**: Salesforce, QBD

#### Applicable To:

Only to QuickBooks Desktop (QBD)&#x20;

**Solution**&#x20;

Prerequisites: • Admin access to DBSync • Admin Access to QBD instance /&#x20;

**Resolution Steps**

1. Log into Quickbooks as the admin user.
2. Switch to single user mode.
3. Go to the Edit menu and click Preferences.
4. Highlight the Integrated Applications preferences and make sure the Company Preferences tab is selected.
5. Highlight any listings for All Orders and remove them from the list.
6. Click OK to close out of and save the preferences.
7. Open All Orders and attempt to sync with Quickbooks.
8. A screen should be showing in Quickbooks asking you to grant All Orders permission to access your data. Select **Yes, whenever this Quickbooks file is open**.
9. Click **Continue** to finish the process.&#x20;

Once complete all orders should sync with Quickbooks again.

#### Workaround (If Applicable)

**Restart Both Applications**

Close and reopen QuickBooks. Re-run the sync/integration app.

#### Root Cause

6. Application Not Yet Authorized: The integration (or sync tool) has not been granted access to the specific company file.
7. User Not Logged in as Admin:

The application attempted to connect while a non-admin user was logged into the QBD company file. 3. QuickBooks Not Running in Admin Mode: If QuickBooks is open, it must be running as Administrator to grant access. 4. Missing/Incorrect Certificate Prompt Handling: The security certificate prompt that usually pops up was either not shown or was ignored or denied. 7.&#x20;

#### Additional Information

<https://help.connexecommerce.com/hc/this-application-has-not-accessed-this-> quickbooks-company-data-file-before.-the-quickbooks-administrator-must-grant-an- application-permission-to-access-1610401929414?utm


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-workflow/troubleshooting/page-2/application-has-not-accessed-this-quickbooks-company-data-file-before.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
