This error will occur if the batch is not marked as Include for Batch Depositing or if trying to preview or print all Batches, instead of selected Batches to Include.  
To correct this, please do the following:

1. Open the batch
2. Go to Tools>Edit Batch Setup
3. Mark the box to Include batch for bank depositing

Include batch for bank depositing

4. Click Save and Data Entry
 (Note: if the Include batch for bank depositing is grayed out, check the box Batch is recurring, then check the box to Include batch for bank depositing and then uncheck Batch is recurring box and click Save and Data Entry)
5. Click File>Preview>Deposit Ticket
6. Click Include button and locate the specific batch needed and check the Include? box next to that row (NOTE: All Batches may be selected by default if you do not Deselect All and choose the batch you need)
7. Click OK in the upper right corner
8. Enter the Deposit ticket number and use the drop down to select the Bank/Branch needed
9. Make other selections desired and click Preview Now