QuickBooks Crash Recovery
Syntra ODBC can automatically bring QuickBooks Desktop back online after a crash, reopen the configured company file, and reconnect its QuickBooks session without waiting for you to do it manually.
This is a Windows desktop recovery feature for the Syntra app itself. It is designed for unattended or semi-attended QuickBooks workstations where a crash would otherwise leave the machine stuck on a modal dialog.
What It Can Recover
Section titled “What It Can Recover”When recovery is enabled, Syntra can handle the standard QuickBooks Desktop crash flow:
- dismiss the QuickBooks - Unrecoverable Error dialog
- dismiss the follow-up QuickBooks is now terminating dialog
- reopen the configured
.QBWfile - handle a username + password login prompt
- handle a password-only login prompt
- handle the No Company Open state and reopen the configured company
- reconnect Syntra to QuickBooks after the company is back online
What You Need To Configure
Section titled “What You Need To Configure”Open Syntra ODBC and go to Settings > QuickBooks.
Set these fields:
- Company file
Use the full absolute path to the
.QBWfile you want Syntra to reopen after a crash. - Crash recovery Turn on Auto-recover QuickBooks after a crash.
- QB login user Fill this only if your QuickBooks login prompt asks for a username.
- QB login password Fill this if your QuickBooks company file requires a password at login.
You can also set the same values in config.toml:
[quickbooks]company_file = "C:\\Path\\To\\Company.qbw"
[quickbooks.recovery]enabled = true# username = "Admin"# password = "your-password"How Recovery Works
Section titled “How Recovery Works”Syntra watches for crash-like QuickBooks states instead of relying only on whether QBW.EXE still exists. That matters because QuickBooks often stays visible while a crash dialog is waiting for confirmation.
When Syntra detects that state, it:
- stops sending new QuickBooks requests
- releases its existing QuickBooks session
- dismisses the standard crash dialogs
- reopens the configured company file
- submits the login prompt if one appears
- reconnects the QuickBooks session
Requirements
Section titled “Requirements”- QuickBooks Desktop and Syntra must be running under the same Windows user session.
company_filemust be configured for deterministic reopen.- Syntra must already be authorized in QuickBooks under Edit > Preferences > Integrated Applications.
- If you run Syntra as a Windows service, the service account must match the Windows user that is authorized in QuickBooks. See Windows Service.
Limits
Section titled “Limits”- This feature is for the standard QuickBooks crash and login dialogs Syntra currently knows how to classify.
- If QuickBooks shows a new or unusual modal window, recovery may still require manual intervention until Syntra learns that dialog shape.
- The feature does not remove the need for normal backups and company-file maintenance.
Troubleshooting
Section titled “Troubleshooting”If recovery does not bring the company back online:
- Verify that Company file points to the exact
.QBWyou want reopened. - Confirm the QuickBooks login fields in Syntra match the actual company login prompt.
- Check
%ProgramData%\\SyntraODBC\\logs\\syntra.logfor recovery messages and errors. - If QuickBooks still opens to No Company Open, re-check the configured path and make sure that file is accessible to the current Windows user.
For broader setup and runtime issues, see Common Issues.