KB010 - The INSERT INTO statement contains the following unknown field name: 'originalfilename'

Symptoms
The following error occurs while working with image data after upgrading from an older version of Living Cookbook 2008: "The INSERT INTO statement contains the following unknown field name: 'originalfilename'."
Cause
A recent minor upgrade involved a database schema change that added an "originalfilename" column to one of the image database tables. A problem during the upgrade process prevented the database schema from being updated on some computers.
Steps To Reproduce
- Install a version of Living Cookbook prior to v2.0.55.
- Upgrade to a version after v2.0.55.
- Run Living Cookbook 2008.
- Add an image to a recipe, ingredient, menu or technique.
Resolution
If you are running Windows Vista or Windows 7, please try the following:
- Run Living Cookbook 2008.
- On the File menu, select Backup to create a new backup file.
- Uninstall Living Cookbook 2008.
- Run Windows Explorer (it doesn't matter which folder is selected).
- Click the Organize button at the top left (on the toolbar).
- Click Folder and Search Options.
- Click the View tab.
- Under "Hidden files and folders" click "Show hidden files and folders".
- Click OK.
- Delete the C:\Program Data\Radium Technologies\Living Cookbook\2.0\Database folder.
- Download and install the latest version of Living Cookbook 2008.
- Run Living Cookbook 2008.
- On the File menu, select Restore to restore your backup file.
If you are running Windows XP or an earlier version of Windows, please try the following:
- Run Living Cookbook 2008.
- On the File menu, select Backup to create a new backup file.
- Uninstall Living Cookbook 2008.
- Run Windows Explorer on your old computer (it doesn't matter which folder is selected).
- On the Tools menu, select Folder Options.
- Click the View tab.
- Under "Hidden files and folders" click "Show hidden files and folders".
- Click OK.
- Delete the C:\Documents and Settings\All Users\Application Data\Radium Technologies\Living Cookbook\2.0\Database folder.
- Download and install the latest version of Living Cookbook 2008.
- Run Living Cookbook 2008.
- On the File menu, select Restore to restore your backup file.
Status
This issue does not occur in Living Cookbook 2011.
Article ID: 10
First Published: 2/23/2010
Last Revision: 11/4/2010