Follow the below steps in order until issue is resolved: 
  1. File> Exit and Sign out of the Raiser's Edge 
  2. Restart the workstation
  3. Log back into RE
  4. Re-create the query being used
  5. Navigate to Admin> Post to General Ledger to attempt to post using the new query in Step 4