How can error code:4099 be resolved when connecting to QuickBooks Desktop?

When trying to import actuals into Jirav from QuickBooks Desktop, the error message: "Global exception caught while selecting date refer to logs (code:4099)" is displayed

If a dialogue box is open in QuickBooks, it may prevent connection. If this is the case, close any open dialogue boxes in QuickBooks and retry the import.