Fix "Invalid Column Name" Error After Restoring a Backup on a New Computer in Webgility Desktop
Resolve the "Invalid column name" error after moving Webgility Desktop to a new computer by updating the application, upgrading the database.
Overview
After you restore a Webgility Desktop backup on a new computer or terminal server, you may see an "Invalid column name" error when you open the Managed Sales Channel or connect to QuickBooks. The restore itself worked. The restored database is simply older than the Webgility program installed on the new computer, so the two do not match. Updating Webgility and running the database upgrade fixes it.
When This Applies
Use these steps when you have restored a Webgility Desktop database backup on a new computer, terminal server, or after a computer crash, and Webgility shows an "Invalid column name" error when you open your sales channel or try to connect to QuickBooks.
Why This Happens
A Webgility backup holds the database exactly as it was on the old computer. If the new computer has a newer copy of Webgility Desktop than the one that made the backup, the database is missing some information the program expects. Webgility reports this as an "Invalid column name" error until the database is upgraded to match the program.
Steps to Fix the Error
Step 1: Make sure you are on the latest version of Webgility Desktop. If you are not sure, go to Help > Check for Updates, or download the latest installer from the Webgility Portal at portal.webgility.com, install it, and close Webgility Desktop when it finishes. If the Scheduler is running, stop it first by right-clicking the clock icon in the system tray and choosing Stop, then Exit.
Step 2: Open the folder C:\Webgility\UnifyEnterprise on the computer where Webgility is installed, find UnifyDBUpgrade, and run it. It works in the background and shows a message when it finishes, so wait for that message before you continue (see How to Solve Errors Caused by Webgility Database Updates).
Step 3: Open Webgility Desktop again and log in. The "Invalid column name" error no longer appears when you open the sales channel.
The full walk-through is in How to Move Your Webgility Desktop Database, Connect to QuickBooks, and Use the Scheduler for Automation.
Key Recommendation
When you move Webgility to a new computer, install the latest version first and run UnifyDBUpgrade right after restoring your backup, before you connect to QuickBooks. Keep a recent backup of your database, and turn on automatic backups in the Scheduler settings (see the move and Scheduler guide).
Additional Support
If the error still appears after the database upgrade finishes, email support@webgility.com with your subscriber ID, a screenshot of the full error message, and the version shown under Help in Webgility Desktop so the team can take a closer look.